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