xref: /linux/Documentation/devicetree/bindings/spi/marvell,armada-3700-spi.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/marvell,armada-3700-spi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell Armada 3700 SPI Controller
8
9description:
10  The SPI controller on Marvell Armada 3700 SoC.
11
12maintainers:
13  - Kousik Sanagavarapu <five231003@gmail.com>
14
15allOf:
16  - $ref: spi-controller.yaml#
17
18properties:
19  compatible:
20    const: marvell,armada-3700-spi
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    maxItems: 1
27
28  clocks:
29    maxItems: 1
30
31  num-cs:
32    maxItems: 1
33
34required:
35  - compatible
36  - reg
37  - interrupts
38  - clocks
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/interrupt-controller/arm-gic.h>
45
46    spi0: spi@10600 {
47        compatible = "marvell,armada-3700-spi";
48        #address-cells = <1>;
49        #size-cells = <0>;
50        reg = <0x10600 0x5d>;
51        clocks = <&nb_perih_clk 7>;
52        interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
53        num-cs = <4>;
54    };
55...
56