summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-12-08 04:14:02 -0600
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-21 09:58:51 +0100
commitc9f80dd3b1dc9d1fd4864374b549efb9e3b1f779 (patch)
treeecd6b9c0b22061a84e60234ad25e11ad30f43460
parentec66d0bb3d8a0643c0772c5999e0383d542e0043 (diff)
ARM: sun4i: dt: cubieboard: Enable SPI0
Only SPI0 is enabled, as the schematic denotes it as the only SPI bus, while other pins are reserved for different peripherals. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun4i-a10-cubieboard.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 6a310da53f18..140e3ee0c15f 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -148,6 +148,12 @@
pinctrl-0 = <&i2c1_pins_a>;
status = "okay";
};
+
+ spi0: spi@01c05000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi0_pins_a>;
+ status = "okay";
+ };
};
leds {