summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-02-22 22:35:59 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-02-24 10:02:58 +0100
commitd5cf89c9ec7761e48e016460d26221533e2f6c7b (patch)
tree698d32f5d023b06e488035beb067f036c1e5a867 /arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
parent412f2c6fa43ae00a8be2c08a49b1dd57e2223715 (diff)
ARM: dts: sun7i: Enable the SPI controllers of the A20-olinuxino-micro
The A20-Olinuxino-micro has two SPI bus exposed on its UEXT connectors, enable them. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
index b02a796b2eaf..9d98316c9928 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
@@ -18,7 +18,24 @@
model = "Olimex A20-Olinuxino Micro";
compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
+ aliases {
+ spi0 = &spi1;
+ spi1 = &spi2;
+ };
+
soc@01c00000 {
+ spi1: spi@01c06000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi1_pins_a>;
+ status = "okay";
+ };
+
+ spi2: spi@01c17000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi2_pins_a>;
+ status = "okay";
+ };
+
pinctrl@01c20800 {
led_pins_olinuxino: led_pins@0 {
allwinner,pins = "PH2";