Commit | Line | Data |
---|---|---|
b3c9f95d ACC |
1 | = Mediatek MTK-EFUSE device tree bindings = |
2 | ||
3 | This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs. | |
4 | ||
5 | Required properties: | |
6 | - compatible: should be "mediatek,mt8173-efuse" or "mediatek,efuse" | |
7 | - reg: Should contain registers location and length | |
8 | ||
9 | = Data cells = | |
10 | Are child nodes of MTK-EFUSE, bindings of which as described in | |
11 | bindings/nvmem/nvmem.txt | |
12 | ||
13 | Example: | |
14 | ||
15 | efuse: efuse@10206000 { | |
16 | compatible = "mediatek,mt8173-efuse"; | |
17 | reg = <0 0x10206000 0 0x1000>; | |
18 | #address-cells = <1>; | |
19 | #size-cells = <1>; | |
20 | ||
21 | /* Data cells */ | |
22 | thermal_calibration: calib@528 { | |
23 | reg = <0x528 0xc>; | |
24 | }; | |
25 | }; | |
26 | ||
27 | = Data consumers = | |
28 | Are device nodes which consume nvmem data cells. | |
29 | ||
30 | For example: | |
31 | ||
32 | thermal { | |
33 | ... | |
34 | nvmem-cells = <&thermal_calibration>; | |
35 | nvmem-cell-names = "calibration"; | |
36 | }; |