xref: /linux/Documentation/devicetree/bindings/nvmem/amlogic,meson-gxbb-efuse.yaml (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
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,meson-gxbb-efuse.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic Meson GX eFuse
8
9maintainers:
10  - Neil Armstrong <neil.armstrong@linaro.org>
11
12allOf:
13  - $ref: nvmem.yaml#
14  - $ref: nvmem-deprecated-cells.yaml#
15
16properties:
17  compatible:
18    oneOf:
19      - const: amlogic,meson-gxbb-efuse
20      - items:
21          - const: amlogic,meson-gx-efuse
22          - const: amlogic,meson-gxbb-efuse
23
24  clocks:
25    maxItems: 1
26
27  secure-monitor:
28    description: phandle to the secure-monitor node
29    $ref: /schemas/types.yaml#/definitions/phandle
30
31required:
32  - compatible
33  - clocks
34  - secure-monitor
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    efuse: efuse {
41        compatible = "amlogic,meson-gxbb-efuse";
42        clocks = <&clk_efuse>;
43        #address-cells = <1>;
44        #size-cells = <1>;
45        secure-monitor = <&sm>;
46
47        sn: sn@14 {
48            reg = <0x14 0x10>;
49        };
50
51        eth_mac: mac@34 {
52            reg = <0x34 0x10>;
53        };
54
55        bid: bid@46 {
56            reg = <0x46 0x30>;
57        };
58    };
59