arm: socfpga: cyclone5-socdk: Enable ports A & C
PATCH 1/1 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 <[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 | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/dts/socfpga_cyclone5_socdk.dts +8 -0
@@ -54,10 +54,18 @@ rxc-skew-ps = <2000>; }; +&gpio0 { + status = "okay"; +}; + &gpio1 { status = "okay"; }; +&gpio2 { + status = "okay"; +}; + &i2c0 { status = "okay";
Signature · 1 line
2.12.1
PATCH 1/1 arm: socfpga: cyclone5-socdk: Enable ports A & C
Quoted 8 lines · Georges Savoundararadj
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]>
Acked-by Marek Vasut <[email protected]>
Dinh ?
Quoted 28 lines
--- arch/arm/dts/socfpga_cyclone5_socdk.dts | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/dts/socfpga_cyclone5_socdk.dts +8
-0@@ -54,10 +54,18 @@ rxc-skew-ps = <2000>; }; +&gpio0 { + status = "okay"; +}; + &gpio1 { status = "okay"; }; +&gpio2 { + status = "okay"; +}; + &i2c0 { status = "okay";
Signature · 2 lines
Best regards, Marek Vasut