1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/amlogic,meson6-efuse.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic Meson6 eFuse
8
9maintainers:
10  - Neil Armstrong <neil.armstrong@linaro.org>
11  - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
12
13allOf:
14  - $ref: nvmem.yaml#
15  - $ref: nvmem-deprecated-cells.yaml#
16
17properties:
18  compatible:
19    enum:
20      - amlogic,meson6-efuse
21      - amlogic,meson8-efuse
22      - amlogic,meson8b-efuse
23
24  reg:
25    maxItems: 1
26
27  clocks:
28    maxItems: 1
29
30  clock-names:
31    const: core
32
33required:
34  - compatible
35  - reg
36  - clocks
37  - clock-names
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    efuse: efuse@0 {
44        compatible = "amlogic,meson6-efuse";
45        reg = <0x0 0x2000>;
46        clocks = <&clk_efuse>;
47        clock-names = "core";
48        #address-cells = <1>;
49        #size-cells = <1>;
50
51        ethernet_mac_address: mac@1b4 {
52            reg = <0x1b4 0x6>;
53        };
54
55        temperature_calib: calib@1f4 {
56             reg = <0x1f4 0x4>;
57        };
58    };
59