summaryrefslogtreecommitdiff
path: root/arch/arm/dts/socfpga_cyclone5_socdk.dts
diff options
context:
space:
mode:
authorGeorges Savoundararadj <savoundg@gmail.com>2017-03-27 22:56:04 -0700
committerMarek Vasut <marex@denx.de>2017-04-14 14:06:40 +0200
commit45fa6f1dd59bc6d213c6051d4ab45b0cb449eb5b (patch)
tree89973891d25f12aa7484537863a1aeaf58dc751d /arch/arm/dts/socfpga_cyclone5_socdk.dts
parent8baa17832fa2406dc8dc36174d5ca5b06d39cb33 (diff)
ARM: socfpga: cyclone5-socdk: Enable ports A & C
With the port C enabled, we can read the GPI input state of: * the DIP switches (USER_DIPSW_HPS[3:0]/HPS_GPI[7:4]) * the push buttons (USER_PB_HPS[3:0]/HPS_GPI[11:8]) Signed-off-by: Georges Savoundararadj <savoundg@gmail.com> Signed-off by: Sid-Ali Teir <git.syedelec@gmail.com> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/dts/socfpga_cyclone5_socdk.dts')
-rw-r--r--arch/arm/dts/socfpga_cyclone5_socdk.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts
index d4df1a14da..f175ef2ead 100644
--- a/arch/arm/dts/socfpga_cyclone5_socdk.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socdk.dts
@@ -54,10 +54,18 @@
rxc-skew-ps = <2000>;
};
+&gpio0 {
+ status = "okay";
+};
+
&gpio1 {
status = "okay";
};
+&gpio2 {
+ status = "okay";
+};
+
&i2c0 {
status = "okay";