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