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