summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm283x.dtsi
diff options
context:
space:
mode:
authorMartin Sperl2015-09-11 13:22:05 +0200
committerEric Anholt2016-02-03 03:01:16 +0100
commitf974d685d27fd1898e25390fbbdd3bf620d15082 (patch)
treea2c5df2b729553b3054b65bae93a2664bdf85ee4 /arch/arm/boot/dts/bcm283x.dtsi
parentLinux 4.5-rc1 (diff)
downloadkernel-qcow2-linux-f974d685d27fd1898e25390fbbdd3bf620d15082.tar.gz
kernel-qcow2-linux-f974d685d27fd1898e25390fbbdd3bf620d15082.tar.xz
kernel-qcow2-linux-f974d685d27fd1898e25390fbbdd3bf620d15082.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/bcm283x.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm283x.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 971e741e5467..f0d457312746 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -1,5 +1,6 @@
#include <dt-bindings/pinctrl/bcm2835.h>
#include <dt-bindings/clock/bcm2835.h>
+#include <dt-bindings/clock/bcm2835-aux.h>
#include "skeleton.dtsi"
/* This include file covers the common peripherals and configuration between
@@ -159,6 +160,26 @@
clocks = <&clocks BCM2835_CLOCK_VPU>;
};
+ spi1: spi@7e215080 {
+ compatible = "brcm,bcm2835-aux-spi";
+ reg = <0x7e215080 0x40>;
+ interrupts = <1 29>;
+ clocks = <&aux BCM2835_AUX_CLOCK_SPI1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
+ spi2: spi@7e2150c0 {
+ compatible = "brcm,bcm2835-aux-spi";
+ reg = <0x7e2150c0 0x40>;
+ interrupts = <1 29>;
+ clocks = <&aux BCM2835_AUX_CLOCK_SPI2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
sdhci: sdhci@7e300000 {
compatible = "brcm,bcm2835-sdhci";
reg = <0x7e300000 0x100>;