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