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