summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/marvell,armada-3700-spi.yaml
blob: 61caa1d86188afa3aec8b9582913451480f2a62e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/marvell,armada-3700-spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Armada 3700 SPI Controller

description:
  The SPI controller on Marvell Armada 3700 SoC.

maintainers:
  - Kousik Sanagavarapu <five231003@gmail.com>

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

properties:
  compatible:
    const: marvell,armada-3700-spi

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  num-cs:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    spi0: spi@10600 {
        compatible = "marvell,armada-3700-spi";
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0x10600 0x5d>;
        clocks = <&nb_perih_clk 7>;
        interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
        num-cs = <4>;
    };
...