xref: /linux/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt (revision c95baf12f5077419db01313ab61c2aac007d40cd)
1*95d25206SFreeman Liu= Spreadtrum eFuse device tree bindings =
2*95d25206SFreeman Liu
3*95d25206SFreeman LiuRequired properties:
4*95d25206SFreeman Liu- compatible: Should be "sprd,ums312-efuse".
5*95d25206SFreeman Liu- reg: Specify the address offset of efuse controller.
6*95d25206SFreeman Liu- clock-names: Should be "enable".
7*95d25206SFreeman Liu- clocks: The phandle and specifier referencing the controller's clock.
8*95d25206SFreeman Liu- hwlocks: Reference to a phandle of a hwlock provider node.
9*95d25206SFreeman Liu
10*95d25206SFreeman Liu= Data cells =
11*95d25206SFreeman LiuAre child nodes of eFuse, bindings of which as described in
12*95d25206SFreeman Liubindings/nvmem/nvmem.txt
13*95d25206SFreeman Liu
14*95d25206SFreeman LiuExample:
15*95d25206SFreeman Liu
16*95d25206SFreeman Liu	ap_efuse: efuse@32240000 {
17*95d25206SFreeman Liu		compatible = "sprd,ums312-efuse";
18*95d25206SFreeman Liu		reg = <0 0x32240000 0 0x10000>;
19*95d25206SFreeman Liu		clock-names = "enable";
20*95d25206SFreeman Liu		hwlocks = <&hwlock 8>;
21*95d25206SFreeman Liu		clocks = <&aonapb_gate CLK_EFUSE_EB>;
22*95d25206SFreeman Liu
23*95d25206SFreeman Liu		/* Data cells */
24*95d25206SFreeman Liu		thermal_calib: calib@10 {
25*95d25206SFreeman Liu			reg = <0x10 0x2>;
26*95d25206SFreeman Liu		};
27*95d25206SFreeman Liu	};
28*95d25206SFreeman Liu
29*95d25206SFreeman Liu= Data consumers =
30*95d25206SFreeman LiuAre device nodes which consume nvmem data cells.
31*95d25206SFreeman Liu
32*95d25206SFreeman LiuExample:
33*95d25206SFreeman Liu
34*95d25206SFreeman Liu	thermal {
35*95d25206SFreeman Liu		...
36*95d25206SFreeman Liu
37*95d25206SFreeman Liu		nvmem-cells = <&thermal_calib>;
38*95d25206SFreeman Liu		nvmem-cell-names = "calibration";
39*95d25206SFreeman Liu	};
40