xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/sprd,ums312-efuse.yaml (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/nvmem/sprd,ums312-efuse.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: Spreadtrum UMS312 eFuse
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotmaintainers:
10*5f62a964SEmmanuel Vadot  - Orson Zhai <orsonzhai@gmail.com>
11*5f62a964SEmmanuel Vadot  - Baolin Wang <baolin.wang7@gmail.com>
12*5f62a964SEmmanuel Vadot  - Chunyan Zhang <zhang.lyra@gmail.com>
13*5f62a964SEmmanuel Vadot
14*5f62a964SEmmanuel Vadotproperties:
15*5f62a964SEmmanuel Vadot  compatible:
16*5f62a964SEmmanuel Vadot    const: sprd,ums312-efuse
17*5f62a964SEmmanuel Vadot
18*5f62a964SEmmanuel Vadot  reg:
19*5f62a964SEmmanuel Vadot    maxItems: 1
20*5f62a964SEmmanuel Vadot
21*5f62a964SEmmanuel Vadot  clocks:
22*5f62a964SEmmanuel Vadot    maxItems: 1
23*5f62a964SEmmanuel Vadot
24*5f62a964SEmmanuel Vadot  clock-names:
25*5f62a964SEmmanuel Vadot    const: enable
26*5f62a964SEmmanuel Vadot
27*5f62a964SEmmanuel Vadot  hwlocks:
28*5f62a964SEmmanuel Vadot    maxItems: 1
29*5f62a964SEmmanuel Vadot
30*5f62a964SEmmanuel Vadotrequired:
31*5f62a964SEmmanuel Vadot  - compatible
32*5f62a964SEmmanuel Vadot  - reg
33*5f62a964SEmmanuel Vadot  - clocks
34*5f62a964SEmmanuel Vadot  - clock-names
35*5f62a964SEmmanuel Vadot  - hwlocks
36*5f62a964SEmmanuel Vadot
37*5f62a964SEmmanuel VadotallOf:
38*5f62a964SEmmanuel Vadot  - $ref: nvmem.yaml#
39*5f62a964SEmmanuel Vadot  - $ref: nvmem-deprecated-cells.yaml#
40*5f62a964SEmmanuel Vadot
41*5f62a964SEmmanuel VadotunevaluatedProperties: false
42*5f62a964SEmmanuel Vadot
43*5f62a964SEmmanuel Vadotexamples:
44*5f62a964SEmmanuel Vadot  - |
45*5f62a964SEmmanuel Vadot    #include <dt-bindings/clock/sprd,ums512-clk.h>
46*5f62a964SEmmanuel Vadot
47*5f62a964SEmmanuel Vadot    efuse@32240000 {
48*5f62a964SEmmanuel Vadot      compatible = "sprd,ums312-efuse";
49*5f62a964SEmmanuel Vadot      reg = <0x32240000 0x10000>;
50*5f62a964SEmmanuel Vadot      clocks = <&aonapb_gate CLK_EFUSE_EB>;
51*5f62a964SEmmanuel Vadot      clock-names = "enable";
52*5f62a964SEmmanuel Vadot      hwlocks = <&hwlock 8>;
53*5f62a964SEmmanuel Vadot      #address-cells = <1>;
54*5f62a964SEmmanuel Vadot      #size-cells = <1>;
55*5f62a964SEmmanuel Vadot
56*5f62a964SEmmanuel Vadot      /* Data cells */
57*5f62a964SEmmanuel Vadot      thermal_calib: calib@10 {
58*5f62a964SEmmanuel Vadot        reg = <0x10 0x2>;
59*5f62a964SEmmanuel Vadot      };
60*5f62a964SEmmanuel Vadot    };
61*5f62a964SEmmanuel Vadot...
62