[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1416567436-26706-1-git-send-email-julien.chauveau@neo-technologies.fr>
Date: Fri, 21 Nov 2014 11:57:16 +0100
From: Julien CHAUVEAU <julien.chauveau@...-technologies.fr>
To: Heiko Stuebner <heiko@...ech.de>, Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Russell King <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org (moderated list:ARM/Rockchip
SoC...),
linux-rockchip@...ts.infradead.org (open list:ARM/Rockchip SoC...),
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND...),
linux-kernel@...r.kernel.org (open list)
Cc: Julien CHAUVEAU <julien.chauveau@...-technologies.fr>
Subject: [PATCH] ARM: dts: rockchip: enable I2C0, SPI and SARADC on Radxa Rock
This enables user space access to the I2C0 bus, SPI0 bus, SPI1 bus
and the 3 Analog-to-digital inputs available on the Radxa Rock headers.
We have to disable UART1 because SPI0 and UART1 are multiplexed together.
Signed-off-by: Julien CHAUVEAU <julien.chauveau@...-technologies.fr>
---
arch/arm/boot/dts/rk3188-radxarock.dts | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 6eb62c0..06b2256 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -122,6 +122,10 @@
cpu0-supply = <&vdd_arm>;
};
+&i2c0 {
+ status = "okay";
+};
+
&i2c1 {
status = "okay";
clock-frequency = <400000>;
@@ -294,14 +298,22 @@
};
};
+&saradc {
+ status = "okay";
+};
+
+&spi0 {
+ status = "okay";
+};
+
+&spi1 {
+ status = "okay";
+};
+
&uart0 {
status = "okay";
};
-&uart1 {
- status = "okay";
-};
-
&uart2 {
status = "okay";
};
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists