Amlogic Meson GX eFuse

Schema identifier ($id): "http://devicetree.org/schemas/nvmem/amlogic,meson-gxbb-efuse.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): nvmem.yaml#

Rule 2 #

Shared schema rule ($ref): nvmem-deprecated-cells.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "amlogic,meson-gxbb-efuse"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "amlogic,meson-gx-efuse"

Item 2

Exact value (const): "amlogic,meson-gxbb-efuse"

clocks — required here #

Maximum number of items (maxItems): 1

secure-monitor — required here #

phandle to the secure-monitor node

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "secure-monitor"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

efuse: efuse {
    compatible = "amlogic,meson-gxbb-efuse";
    clocks = <&clk_efuse>;
    #address-cells = <1>;
    #size-cells = <1>;
    secure-monitor = <&sm>;

    sn: sn@14 {
        reg = <0x14 0x10>;
    };

    eth_mac: mac@34 {
        reg = <0x34 0x10>;
    };

    bid: bid@46 {
        reg = <0x46 0x30>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page