[PATCH] arm64: zynqmp: Add support for K26 rev2 boards

Michal Simek michal.simek at amd.com
Fri Sep 1 08:31:43 CEST 2023



On 8/25/23 10:10, Michal Simek wrote:
> Revision 2 is SW compatible with revision 1 but it is necessary to reflect
> it in model and compatible properties which are parsed by user space.
> Rev 2 has improved a power on boot reset and MIO34 shutdown glich
> improvement done via an additional filter in the GreenPak chip.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-sm-k26-revA.dts  | 8 +++++---
>   arch/arm/dts/zynqmp-smk-k26-revA.dts | 8 +++++---
>   2 files changed, 10 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts
> index d718fec76065..80b9face7483 100644
> --- a/arch/arm/dts/zynqmp-sm-k26-revA.dts
> +++ b/arch/arm/dts/zynqmp-sm-k26-revA.dts
> @@ -1,8 +1,9 @@
>   // SPDX-License-Identifier: GPL-2.0
>   /*
> - * dts file for Xilinx ZynqMP SM-K26 rev1/B/A
> + * dts file for Xilinx ZynqMP SM-K26 rev2/1/B/A
>    *
>    * (C) Copyright 2020 - 2021, Xilinx, Inc.
> + * (C) Copyright 2023, Advanced Micro Devices, Inc.
>    *
>    * Michal Simek <michal.simek at amd.com>
>    */
> @@ -17,8 +18,9 @@
>   #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
>   
>   / {
> -	model = "ZynqMP SM-K26 Rev1/B/A";
> -	compatible = "xlnx,zynqmp-sm-k26-rev1", "xlnx,zynqmp-sm-k26-revB",
> +	model = "ZynqMP SM-K26 Rev2/1/B/A";
> +	compatible = "xlnx,zynqmp-sm-k26-rev2",
> +		     "xlnx,zynqmp-sm-k26-rev1", "xlnx,zynqmp-sm-k26-revB",
>   		     "xlnx,zynqmp-sm-k26-revA", "xlnx,zynqmp-sm-k26",
>   		     "xlnx,zynqmp";
>   
> diff --git a/arch/arm/dts/zynqmp-smk-k26-revA.dts b/arch/arm/dts/zynqmp-smk-k26-revA.dts
> index 85b0d1677240..719a4e49b574 100644
> --- a/arch/arm/dts/zynqmp-smk-k26-revA.dts
> +++ b/arch/arm/dts/zynqmp-smk-k26-revA.dts
> @@ -1,8 +1,9 @@
>   // SPDX-License-Identifier: GPL-2.0
>   /*
> - * dts file for Xilinx ZynqMP SMK-K26 rev1/B/A
> + * dts file for Xilinx ZynqMP SMK-K26 rev2/1/B/A
>    *
>    * (C) Copyright 2020 - 2021, Xilinx, Inc.
> + * (C) Copyright 2023, Advanced Micro Devices, Inc.
>    *
>    * Michal Simek <michal.simek at amd.com>
>    */
> @@ -10,8 +11,9 @@
>   #include "zynqmp-sm-k26-revA.dts"
>   
>   / {
> -	model = "ZynqMP SMK-K26 Rev1/B/A";
> -	compatible = "xlnx,zynqmp-smk-k26-rev1", "xlnx,zynqmp-smk-k26-revB",
> +	model = "ZynqMP SMK-K26 Rev2/1/B/A";
> +	compatible = "xlnx,zynqmp-smk-k26-rev2",
> +		     "xlnx,zynqmp-smk-k26-rev1", "xlnx,zynqmp-smk-k26-revB",
>   		     "xlnx,zynqmp-smk-k26-revA", "xlnx,zynqmp-smk-k26",
>   		     "xlnx,zynqmp";
>   };

Applied.
M


More information about the U-Boot mailing list