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