Debian Codegraph @

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

raw
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
7 title: Broadcom BCM2835 SPI0 controller
8
9 maintainers:
10 - Florian Fainelli <[email protected]>
11 - Kanak Shilledar <[email protected]>
12 - Stefan Wahren <[email protected]>
13
14 allOf:
15 - $ref: spi-controller.yaml#
16
17 properties:
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
33 required:
34 - compatible
35 - reg
36 - interrupts
37 - clocks
38
39 unevaluatedProperties: false
40
41 examples:
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 };