Broadcom BCM2835 Auxiliary SPI1/2 Controller

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

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

Maintainers (maintainers): "Karan Sanghavi <karansanghvi98@gmail.com>"

The BCM2835 contains two forms of SPI master controller. One is known simply as SPI0, and the other as the "Universal SPI Master," which is part of the auxiliary block. This binding applies to the SPI1 and SPI2 auxiliary controllers.

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-aux-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) #

#include <dt-bindings/clock/bcm2835-aux.h>
spi@7e215080 {
    compatible = "brcm,bcm2835-aux-spi";
    reg = <0x7e215080 0x40>;
    interrupts = <1 29>;
    clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>;
    #address-cells = <1>;
    #size-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page