]> Git Repo - J-u-boot.git/commitdiff
ARM: socfpga: cyclone5-socdk: Enable ports A & C
authorGeorges Savoundararadj <[email protected]>
Tue, 28 Mar 2017 05:56:04 +0000 (22:56 -0700)
committerMarek Vasut <[email protected]>
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 <[email protected]>
Signed-off by: Sid-Ali Teir <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Marek Vasut <[email protected]>
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";
 
This page took 0.038876 seconds and 4 git commands to generate.