blob: 586c08286aa9afeb7f1a882ddf85942b39860bac [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001= Spreadtrum SC27XX PMIC eFuse device tree bindings =
2
3Required properties:
4- compatible: Should be one of the following.
5 "sprd,sc2720-efuse"
6 "sprd,sc2721-efuse"
7 "sprd,sc2723-efuse"
8 "sprd,sc2730-efuse"
9 "sprd,sc2731-efuse"
10- reg: Specify the address offset of efuse controller.
11- hwlocks: Reference to a phandle of a hwlock provider node.
12
13= Data cells =
14Are child nodes of eFuse, bindings of which as described in
15bindings/nvmem/nvmem.txt
16
17Example:
18
19 sc2731_pmic: pmic@0 {
20 compatible = "sprd,sc2731";
21 reg = <0>;
22 spi-max-frequency = <26000000>;
23 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
24 interrupt-controller;
25 #interrupt-cells = <2>;
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 efuse@380 {
30 compatible = "sprd,sc2731-efuse";
31 reg = <0x380>;
32 #address-cells = <1>;
33 #size-cells = <1>;
34 hwlocks = <&hwlock 12>;
35
36 /* Data cells */
37 thermal_calib: calib@10 {
38 reg = <0x10 0x2>;
39 };
40 };
41 };
42
43= Data consumers =
44Are device nodes which consume nvmem data cells.
45
46Example:
47
48 thermal {
49 ...
50 nvmem-cells = <&thermal_calib>;
51 nvmem-cell-names = "calibration";
52 };