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