xref: /linux/Documentation/devicetree/bindings/spi/brcm,bcm2835-spi.yaml (revision 297fef494d78d00fa563ead08396da6b4ba58172)
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/brcm,bcm2835-spi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom BCM2835 SPI0 controller
8
9maintainers:
10  - Florian Fainelli <florian.fainelli@broadcom.com>
11  - Kanak Shilledar <kanakshilledar111@protonmail.com>
12  - Stefan Wahren <wahrenst@gmx.net>
13
14allOf:
15  - $ref: spi-controller.yaml#
16
17properties:
18  compatible:
19    enum:
20      - brcm,bcm2835-spi
21      - brcm,bcm2711-spi
22      - brcm,bcm7211-spi
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30  clocks:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - interrupts
37  - clocks
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    spi@20204000 {
44        compatible = "brcm,bcm2835-spi";
45        reg = <0x7e204000 0x1000>;
46        interrupts = <2 22>;
47        clocks = <&clk_spi>;
48        #address-cells = <1>;
49        #size-cells = <0>;
50    };
51