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
16properties:
17  compatible:
18    enum:
19      - amlogic,meson6-efuse
20      - amlogic,meson8-efuse
21      - amlogic,meson8b-efuse
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29  clock-names:
30    const: core
31
32required:
33  - compatible
34  - reg
35  - clocks
36  - clock-names
37
38unevaluatedProperties: false
39
40examples:
41  - |
42    efuse: efuse@0 {
43        compatible = "amlogic,meson6-efuse";
44        reg = <0x0 0x2000>;
45        clocks = <&clk_efuse>;
46        clock-names = "core";
47        #address-cells = <1>;
48        #size-cells = <1>;
49
50        ethernet_mac_address: mac@1b4 {
51            reg = <0x1b4 0x6>;
52        };
53
54        temperature_calib: calib@1f4 {
55             reg = <0x1f4 0x4>;
56        };
57    };
58