Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/eeprom/st,m24lr.yaml
29549 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/eeprom/st,m24lr.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: STMicroelectronics M24LR NFC/RFID EEPROM
8
9
maintainers:
10
- Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com>
11
12
description:
13
STMicroelectronics M24LR series are dual-interface (RF + I2C)
14
EEPROM chips. These devices support I2C-based access to both
15
memory and a system area that controls authentication and configuration.
16
They expose two I2C addresses, one for the system parameter sector and
17
one for the EEPROM.
18
19
allOf:
20
- $ref: /schemas/nvmem/nvmem.yaml#
21
22
properties:
23
compatible:
24
enum:
25
- st,m24lr04e-r
26
- st,m24lr16e-r
27
- st,m24lr64e-r
28
29
reg:
30
items:
31
- description: I2C address used for control/system registers
32
- description: I2C address used for EEPROM memory access
33
34
required:
35
- compatible
36
- reg
37
38
unevaluatedProperties: false
39
40
examples:
41
- |
42
i2c {
43
#address-cells = <1>;
44
#size-cells = <0>;
45
46
eeprom@57 {
47
compatible = "st,m24lr04e-r";
48
reg = <0x57>, /* primary-device */
49
<0x53>; /* secondary-device */
50
};
51
};
52
...
53
54