diff mbox

[3/3] ARM: sun4i: dt: cubieboard: Enable SPI0

Message ID 1418033642-29731-4-git-send-email-mr.nuke.me@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alex G. Dec. 8, 2014, 10:14 a.m. UTC
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>
---
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Maxime Ripard Dec. 11, 2014, 4:57 p.m. UTC | #1
On Mon, Dec 08, 2014 at 04:14:02AM -0600, Alexandru Gagniuc wrote:
> 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>

Applied, thanks!

Maxime
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 6a310da..140e3ee 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 {