[PATCH 1/2] ARM: socfpga: socrates: enable gpio0/1

Steffen Trumtrar s.trumtrar at pengutronix.de
Fri May 29 07:33:02 PDT 2015


Enable the gpio0+1 controller.

Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
 arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
index a1814b457450..a81f33deaa3a 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
@@ -36,6 +36,14 @@
 	status = "okay";
 };
 
+&gpio0 {
+	status = "okay";
+};
+
+&gpio1 {
+	status = "okay";
+};
+
 &i2c0 {
 	status = "okay";
 
-- 
2.1.4




More information about the linux-arm-kernel mailing list