blob: 678fff0e8128593b78acc1f2090fc482223c1338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
TQ EEPROM Sysinfo Driver
------------------------
This binding describes a sysinfo provider which retrieves system
identification information from an I2C EEPROM device.
Required properties:
- compatible: "tq,eeprom-sysinfo"
- nvmem-cells: phandle referencing the nvmem cell
- nvmem-cell-names: string, should be "device_info"
Example:
&i2c1 {
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
module_info: module-info@20 {
reg = <0x20 0x60>;
};
};
};
};
sysinfo {
compatible = "tq,eeprom-sysinfo";
nvmem-cells = <&module_info>;
nvmem-cell-names = "device_info";
};
|