[PATCH] arm64: zynqmp: Enable gpio driver for zcu1275/zcu1285

Michal Simek monstr at monstr.eu
Mon May 31 10:28:03 CEST 2021


st 19. 5. 2021 v 11:56 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> Enable gpio driver on these boards. GPIOs can be used on any board.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/arm/dts/zynqmp-zcu1275-revA.dts | 4 ++++
>  arch/arm/dts/zynqmp-zcu1275-revB.dts | 4 ++++
>  arch/arm/dts/zynqmp-zcu1285-revA.dts | 4 ++++
>  3 files changed, 12 insertions(+)
>
> diff --git a/arch/arm/dts/zynqmp-zcu1275-revA.dts b/arch/arm/dts/zynqmp-zcu1275-revA.dts
> index cdd5c341878f..b9a9d9802d93 100644
> --- a/arch/arm/dts/zynqmp-zcu1275-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu1275-revA.dts
> @@ -39,6 +39,10 @@
>         status = "okay";
>  };
>
> +&gpio {
> +       status = "okay";
> +};
> +
>  &qspi {
>         status = "okay";
>         flash at 0 {
> diff --git a/arch/arm/dts/zynqmp-zcu1275-revB.dts b/arch/arm/dts/zynqmp-zcu1275-revB.dts
> index 1de890c30f64..f14707419b40 100644
> --- a/arch/arm/dts/zynqmp-zcu1275-revB.dts
> +++ b/arch/arm/dts/zynqmp-zcu1275-revB.dts
> @@ -64,6 +64,10 @@
>         };
>  };
>
> +&gpio {
> +       status = "okay";
> +};
> +
>  &qspi {
>         status = "okay";
>         flash at 0 {
> diff --git a/arch/arm/dts/zynqmp-zcu1285-revA.dts b/arch/arm/dts/zynqmp-zcu1285-revA.dts
> index 21d62e993a33..42a73ea31aec 100644
> --- a/arch/arm/dts/zynqmp-zcu1285-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu1285-revA.dts
> @@ -245,6 +245,10 @@
>         };
>  };
>
> +&gpio {
> +       status = "okay";
> +};
> +
>  &qspi {
>         status = "okay";
>         flash at 0 {
> --
> 2.31.1
>

Applied.
M


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list