1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5f62a964SEmmanuel Vadot%YAML 1.2 3*5f62a964SEmmanuel Vadot--- 4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/spi/apple,spi.yaml# 5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5f62a964SEmmanuel Vadot 7*5f62a964SEmmanuel Vadottitle: Apple ARM SoC SPI controller 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel VadotallOf: 10*5f62a964SEmmanuel Vadot - $ref: spi-controller.yaml# 11*5f62a964SEmmanuel Vadot 12*5f62a964SEmmanuel Vadotmaintainers: 13*5f62a964SEmmanuel Vadot - Hector Martin <marcan@marcan.st> 14*5f62a964SEmmanuel Vadot 15*5f62a964SEmmanuel Vadotproperties: 16*5f62a964SEmmanuel Vadot compatible: 17*5f62a964SEmmanuel Vadot items: 18*5f62a964SEmmanuel Vadot - enum: 19*5f62a964SEmmanuel Vadot - apple,t8103-spi 20*5f62a964SEmmanuel Vadot - apple,t8112-spi 21*5f62a964SEmmanuel Vadot - apple,t6000-spi 22*5f62a964SEmmanuel Vadot - const: apple,spi 23*5f62a964SEmmanuel Vadot 24*5f62a964SEmmanuel Vadot reg: 25*5f62a964SEmmanuel Vadot maxItems: 1 26*5f62a964SEmmanuel Vadot 27*5f62a964SEmmanuel Vadot clocks: 28*5f62a964SEmmanuel Vadot maxItems: 1 29*5f62a964SEmmanuel Vadot 30*5f62a964SEmmanuel Vadot interrupts: 31*5f62a964SEmmanuel Vadot maxItems: 1 32*5f62a964SEmmanuel Vadot 33*5f62a964SEmmanuel Vadot power-domains: 34*5f62a964SEmmanuel Vadot maxItems: 1 35*5f62a964SEmmanuel Vadot 36*5f62a964SEmmanuel Vadotrequired: 37*5f62a964SEmmanuel Vadot - compatible 38*5f62a964SEmmanuel Vadot - reg 39*5f62a964SEmmanuel Vadot - clocks 40*5f62a964SEmmanuel Vadot - interrupts 41*5f62a964SEmmanuel Vadot 42*5f62a964SEmmanuel VadotunevaluatedProperties: false 43*5f62a964SEmmanuel Vadot 44*5f62a964SEmmanuel Vadotexamples: 45*5f62a964SEmmanuel Vadot - | 46*5f62a964SEmmanuel Vadot #include <dt-bindings/interrupt-controller/apple-aic.h> 47*5f62a964SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 48*5f62a964SEmmanuel Vadot 49*5f62a964SEmmanuel Vadot soc { 50*5f62a964SEmmanuel Vadot #address-cells = <2>; 51*5f62a964SEmmanuel Vadot #size-cells = <2>; 52*5f62a964SEmmanuel Vadot 53*5f62a964SEmmanuel Vadot spi@39b104000 { 54*5f62a964SEmmanuel Vadot compatible = "apple,t6000-spi", "apple,spi"; 55*5f62a964SEmmanuel Vadot reg = <0x3 0x9b104000 0x0 0x4000>; 56*5f62a964SEmmanuel Vadot interrupt-parent = <&aic>; 57*5f62a964SEmmanuel Vadot interrupts = <AIC_IRQ 0 1107 IRQ_TYPE_LEVEL_HIGH>; 58*5f62a964SEmmanuel Vadot #address-cells = <1>; 59*5f62a964SEmmanuel Vadot #size-cells = <0>; 60*5f62a964SEmmanuel Vadot clocks = <&clk>; 61*5f62a964SEmmanuel Vadot }; 62*5f62a964SEmmanuel Vadot }; 63