[U-Boot] [PATCH 1/1] arm: socfpga: cyclone5-socdk: Enable ports A & C

Marek Vasut marex at denx.de
Tue Mar 28 08:57:19 UTC 2017


On 03/28/2017 07:56 AM, Georges Savoundararadj wrote:
> 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 at gmail.com>
> Signed-off by: Sid-Ali Teir <git.syedelec at gmail.com>
> Cc: Dinh Nguyen <dinguyen at kernel.org>
> Cc: Marek Vasut <marex at denx.de>

Acked-by: Marek Vasut <marex at denx.de>

Dinh ?

> ---
>  arch/arm/dts/socfpga_cyclone5_socdk.dts | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> 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";
>  
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list