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