Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: bcm2835: add the auxiliary spi1 and spi2 to the device tree

This enables the use of the auxiliary spi1 and spi2 devices
on the bcm2835 SOC.

Note that this requires the use of the new clk-bcm2835-aux to work.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
[anholt: Rebased on 2835.dtsi -> 283x.dtsi change]
Signed-off-by: Eric Anholt <eric@anholt.net>

authored by

Martin Sperl and committed by
Eric Anholt
f974d685 92e963f5

+21
+21
arch/arm/boot/dts/bcm283x.dtsi
··· 1 1 #include <dt-bindings/pinctrl/bcm2835.h> 2 2 #include <dt-bindings/clock/bcm2835.h> 3 + #include <dt-bindings/clock/bcm2835-aux.h> 3 4 #include "skeleton.dtsi" 4 5 5 6 /* This include file covers the common peripherals and configuration between ··· 158 157 #clock-cells = <1>; 159 158 reg = <0x7e215000 0x8>; 160 159 clocks = <&clocks BCM2835_CLOCK_VPU>; 160 + }; 161 + 162 + spi1: spi@7e215080 { 163 + compatible = "brcm,bcm2835-aux-spi"; 164 + reg = <0x7e215080 0x40>; 165 + interrupts = <1 29>; 166 + clocks = <&aux BCM2835_AUX_CLOCK_SPI1>; 167 + #address-cells = <1>; 168 + #size-cells = <0>; 169 + status = "disabled"; 170 + }; 171 + 172 + spi2: spi@7e2150c0 { 173 + compatible = "brcm,bcm2835-aux-spi"; 174 + reg = <0x7e2150c0 0x40>; 175 + interrupts = <1 29>; 176 + clocks = <&aux BCM2835_AUX_CLOCK_SPI2>; 177 + #address-cells = <1>; 178 + #size-cells = <0>; 179 + status = "disabled"; 161 180 }; 162 181 163 182 sdhci: sdhci@7e300000 {