linux/Documentation/devicetree/bindings/spi/brcm,bcm2835-spi.yaml

# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/brcm,bcm2835-spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom BCM2835 SPI0 controller

maintainers:
  - Florian Fainelli <[email protected]>
  - Kanak Shilledar <[email protected]>
  - Stefan Wahren <[email protected]>

allOf:
  - $ref: spi-controller.yaml#

properties:
  compatible:
    enum:
      - brcm,bcm2835-spi
      - brcm,bcm2711-spi
      - brcm,bcm7211-spi

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

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