Re: [PATCH 2/2] arm: dts: zynqmp: add alias gpio0 to zcu104 and zcu106 boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 13.09.21 17:25, Michael Riesch wrote:
> From: Michael Tretter <m.tretter@xxxxxxxxxxxxxx>
> 
> Add the alias gpio0 to all Xilinx Zynq UltraScale+ MPSoC boards.

Please add this to arch/arm/dts/zynqmp.dtsi and include that new file
here.

Cheers,
Ahmad

> 
> Signed-off-by: Michael Tretter <m.tretter@xxxxxxxxxxxxxx>
> [add alias to zcu106]
> Signed-off-by: Michael Riesch <michael.riesch@xxxxxxxxxxxxxx>
> ---
>  arch/arm/dts/zynqmp-zcu104-revA.dts | 4 ++++
>  arch/arm/dts/zynqmp-zcu106-revA.dts | 4 ++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts b/arch/arm/dts/zynqmp-zcu104-revA.dts
> index 95b60a6b1..bc28937ac 100644
> --- a/arch/arm/dts/zynqmp-zcu104-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu104-revA.dts
> @@ -10,6 +10,10 @@
>  #include <arm64/xilinx/zynqmp-zcu104-revA.dts>
>  
>  / {
> +	aliases {
> +		gpio0 = &gpio;
> +	};
> +
>  	chosen {
>  		environment {
>  			compatible = "barebox,environment";
> diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
> index 7c5058826..c9c6d9d55 100644
> --- a/arch/arm/dts/zynqmp-zcu106-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
> @@ -11,6 +11,10 @@
>  #include <arm64/xilinx/zynqmp-zcu106-revA.dts>
>  
>  / {
> +	aliases {
> +		gpio0 = &gpio;
> +	};
> +
>  	chosen {
>  		environment {
>  			compatible = "barebox,environment";
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux