xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/mtk-efuse.txt (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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	      "mediatek,mt8192-efuse", "mediatek,efuse": for MT8192
11	      "mediatek,mt8195-efuse", "mediatek,efuse": for MT8195
12	      "mediatek,mt8516-efuse", "mediatek,efuse": for MT8516
13- reg: Should contain registers location and length
14- bits: contain the bits range by offset and size
15
16= Data cells =
17Are child nodes of MTK-EFUSE, bindings of which as described in
18bindings/nvmem/nvmem.txt
19
20Example:
21
22	efuse: efuse@10206000 {
23		compatible = "mediatek,mt8173-efuse";
24		reg	   = <0 0x10206000 0 0x1000>;
25		#address-cells = <1>;
26		#size-cells = <1>;
27
28		/* Data cells */
29		thermal_calibration: calib@528 {
30			reg = <0x528 0xc>;
31		};
32	};
33
34= Data consumers =
35Are device nodes which consume nvmem data cells.
36
37For example:
38
39	thermal {
40		...
41		nvmem-cells = <&thermal_calibration>;
42		nvmem-cell-names = "calibration";
43	};
44