Broadcom BCM2835 SPI0 controller

Schema identifier ($id): "http://devicetree.org/schemas/spi/brcm,bcm2835-spi.yaml#"

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

Maintainers (maintainers): "Florian Fainelli <florian.fainelli@broadcom.com>", "Kanak Shilledar <kanakshilledar111@protonmail.com>", "Stefan Wahren <wahrenst@gmx.net>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): spi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2835-spi", "brcm,bcm2711-spi", "brcm,bcm7211-spi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi@20204000 {
    compatible = "brcm,bcm2835-spi";
    reg = <0x7e204000 0x1000>;
    interrupts = <2 22>;
    clocks = <&clk_spi>;
    #address-cells = <1>;
    #size-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page