0001 = Spreadtrum eFuse device tree bindings =
0002
0003 Required properties:
0004 - compatible: Should be "sprd,ums312-efuse".
0005 - reg: Specify the address offset of efuse controller.
0006 - clock-names: Should be "enable".
0007 - clocks: The phandle and specifier referencing the controller's clock.
0008 - hwlocks: Reference to a phandle of a hwlock provider node.
0009
0010 = Data cells =
0011 Are child nodes of eFuse, bindings of which as described in
0012 bindings/nvmem/nvmem.txt
0013
0014 Example:
0015
0016 ap_efuse: efuse@32240000 {
0017 compatible = "sprd,ums312-efuse";
0018 reg = <0 0x32240000 0 0x10000>;
0019 clock-names = "enable";
0020 hwlocks = <&hwlock 8>;
0021 clocks = <&aonapb_gate CLK_EFUSE_EB>;
0022
0023 /* Data cells */
0024 thermal_calib: calib@10 {
0025 reg = <0x10 0x2>;
0026 };
0027 };
0028
0029 = Data consumers =
0030 Are device nodes which consume nvmem data cells.
0031
0032 Example:
0033
0034 thermal {
0035 ...
0036
0037 nvmem-cells = <&thermal_calib>;
0038 nvmem-cell-names = "calibration";
0039 };