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/brcm,bcm2835-aux-spi.yaml# 5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5f62a964SEmmanuel Vadot 7*5f62a964SEmmanuel Vadottitle: Broadcom BCM2835 Auxiliary SPI1/2 Controller 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel Vadotmaintainers: 10*5f62a964SEmmanuel Vadot - Karan Sanghavi <karansanghvi98@gmail.com> 11*5f62a964SEmmanuel Vadot 12*5f62a964SEmmanuel Vadotdescription: 13*5f62a964SEmmanuel Vadot The BCM2835 contains two forms of SPI master controller. One is known simply 14*5f62a964SEmmanuel Vadot as SPI0, and the other as the "Universal SPI Master," which is part of the 15*5f62a964SEmmanuel Vadot auxiliary block. This binding applies to the SPI1 and SPI2 auxiliary 16*5f62a964SEmmanuel Vadot controllers. 17*5f62a964SEmmanuel Vadot 18*5f62a964SEmmanuel VadotallOf: 19*5f62a964SEmmanuel Vadot - $ref: spi-controller.yaml# 20*5f62a964SEmmanuel Vadot 21*5f62a964SEmmanuel Vadotproperties: 22*5f62a964SEmmanuel Vadot compatible: 23*5f62a964SEmmanuel Vadot enum: 24*5f62a964SEmmanuel Vadot - brcm,bcm2835-aux-spi 25*5f62a964SEmmanuel Vadot 26*5f62a964SEmmanuel Vadot reg: 27*5f62a964SEmmanuel Vadot maxItems: 1 28*5f62a964SEmmanuel Vadot 29*5f62a964SEmmanuel Vadot interrupts: 30*5f62a964SEmmanuel Vadot maxItems: 1 31*5f62a964SEmmanuel Vadot 32*5f62a964SEmmanuel Vadot clocks: 33*5f62a964SEmmanuel Vadot maxItems: 1 34*5f62a964SEmmanuel Vadot 35*5f62a964SEmmanuel Vadotrequired: 36*5f62a964SEmmanuel Vadot - compatible 37*5f62a964SEmmanuel Vadot - reg 38*5f62a964SEmmanuel Vadot - interrupts 39*5f62a964SEmmanuel Vadot - clocks 40*5f62a964SEmmanuel Vadot 41*5f62a964SEmmanuel VadotunevaluatedProperties: false 42*5f62a964SEmmanuel Vadot 43*5f62a964SEmmanuel Vadotexamples: 44*5f62a964SEmmanuel Vadot - | 45*5f62a964SEmmanuel Vadot #include <dt-bindings/clock/bcm2835-aux.h> 46*5f62a964SEmmanuel Vadot spi@7e215080 { 47*5f62a964SEmmanuel Vadot compatible = "brcm,bcm2835-aux-spi"; 48*5f62a964SEmmanuel Vadot reg = <0x7e215080 0x40>; 49*5f62a964SEmmanuel Vadot interrupts = <1 29>; 50*5f62a964SEmmanuel Vadot clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>; 51*5f62a964SEmmanuel Vadot #address-cells = <1>; 52*5f62a964SEmmanuel Vadot #size-cells = <0>; 53*5f62a964SEmmanuel Vadot }; 54