xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/amlogic,meson-gxbb-efuse.yaml (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
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
15properties:
16  compatible:
17    oneOf:
18      - const: amlogic,meson-gxbb-efuse
19      - items:
20          - const: amlogic,meson-gx-efuse
21          - const: amlogic,meson-gxbb-efuse
22
23  clocks:
24    maxItems: 1
25
26  secure-monitor:
27    description: phandle to the secure-monitor node
28    $ref: /schemas/types.yaml#/definitions/phandle
29
30required:
31  - compatible
32  - clocks
33  - secure-monitor
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    efuse: efuse {
40        compatible = "amlogic,meson-gxbb-efuse";
41        clocks = <&clk_efuse>;
42        #address-cells = <1>;
43        #size-cells = <1>;
44        secure-monitor = <&sm>;
45
46        sn: sn@14 {
47            reg = <0x14 0x10>;
48        };
49
50        eth_mac: mac@34 {
51            reg = <0x34 0x10>;
52        };
53
54        bid: bid@46 {
55            reg = <0x46 0x30>;
56        };
57    };
58