ARM Juno FPGA APB Registers

Schema identifier ($id): "http://devicetree.org/schemas/arm/arm,juno-fpga-apb-regs.yaml#"

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

Maintainers (maintainers): "Sudeep Holla <sudeep.holla@arm.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "arm,juno-fpga-apb-regs"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^led@[0-9a-f]+,[0-9a-f]$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/leds/register-bit-led.yaml#

Required in this object (required): "compatible", "reg", "ranges", "#address-cells", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@10000 {
    compatible = "arm,juno-fpga-apb-regs", "syscon", "simple-mfd";
    reg = <0x010000 0x1000>;
    ranges = <0x0 0x10000 0x1000>;
    #address-cells = <1>;
    #size-cells = <1>;

    led@8,0 {
        compatible = "register-bit-led";
        reg = <0x08 0x04>;
        offset = <0x08>;
        mask = <0x01>;
        label = "vexpress:0";
        linux,default-trigger = "heartbeat";
        default-state = "on";
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page