18c2ecf20Sopenharmony_ci= Mediatek MTK-EFUSE device tree bindings =
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThis binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs.
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciRequired properties:
68c2ecf20Sopenharmony_ci- compatible: should be
78c2ecf20Sopenharmony_ci	      "mediatek,mt7622-efuse", "mediatek,efuse": for MT7622
88c2ecf20Sopenharmony_ci	      "mediatek,mt7623-efuse", "mediatek,efuse": for MT7623
98c2ecf20Sopenharmony_ci	      "mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173
108c2ecf20Sopenharmony_ci- reg: Should contain registers location and length
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci= Data cells =
138c2ecf20Sopenharmony_ciAre child nodes of MTK-EFUSE, bindings of which as described in
148c2ecf20Sopenharmony_cibindings/nvmem/nvmem.txt
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciExample:
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	efuse: efuse@10206000 {
198c2ecf20Sopenharmony_ci		compatible = "mediatek,mt8173-efuse";
208c2ecf20Sopenharmony_ci		reg	   = <0 0x10206000 0 0x1000>;
218c2ecf20Sopenharmony_ci		#address-cells = <1>;
228c2ecf20Sopenharmony_ci		#size-cells = <1>;
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci		/* Data cells */
258c2ecf20Sopenharmony_ci		thermal_calibration: calib@528 {
268c2ecf20Sopenharmony_ci			reg = <0x528 0xc>;
278c2ecf20Sopenharmony_ci		};
288c2ecf20Sopenharmony_ci	};
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci= Data consumers =
318c2ecf20Sopenharmony_ciAre device nodes which consume nvmem data cells.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciFor example:
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	thermal {
368c2ecf20Sopenharmony_ci		...
378c2ecf20Sopenharmony_ci		nvmem-cells = <&thermal_calibration>;
388c2ecf20Sopenharmony_ci		nvmem-cell-names = "calibration";
398c2ecf20Sopenharmony_ci	};
40