]> git.sur5r.net Git - u-boot/commitdiff
ARM: socfpga: cyclone5-socdk: Enable ports A & C
authorGeorges Savoundararadj <savoundg@gmail.com>
Tue, 28 Mar 2017 05:56:04 +0000 (22:56 -0700)
committerMarek Vasut <marex@denx.de>
Fri, 14 Apr 2017 12:06:40 +0000 (14:06 +0200)
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>
arch/arm/dts/socfpga_cyclone5_socdk.dts

index d4df1a14da13d7ce913b925305dc441939011aa2..f175ef2ead9d76ac1c08bb9c969d10dcf2aa644e 100644 (file)
        rxc-skew-ps = <2000>;
 };
 
+&gpio0 {
+       status = "okay";
+};
+
 &gpio1 {
        status = "okay";
 };
 
+&gpio2 {
+       status = "okay";
+};
+
 &i2c0 {
        status = "okay";