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