[PATCH] zynqmp: dts: Cleanup no-1-8-v property from sdhci dt nodes

Michal Simek monstr at monstr.eu
Thu Jan 16 08:10:15 CET 2020


Ășt 7. 1. 2020 v 12:33 odesĂ­latel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: T Karthik Reddy <t.karthik.reddy at xilinx.com>
>
> Removed no-1-8-v property from zynqmp sdhci devicetree nodes to
> allow UHS-I capable SD cards to work in SD3.0 UHS modes.
>
> Boards that does not have level shifter for SD, does not support 1.8v.
> so no-1-8-v property to sdhci dt nodes should be present in zcu102 Rev-A,B,
> zcu104 Rev-A,C, zcu100, zcu1275 Rev-B boards.
>
> Signed-off-by: T Karthik Reddy <t.karthik.reddy at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/arm/dts/zynqmp-zcu100-revC.dts  | 1 +
>  arch/arm/dts/zynqmp-zcu106-revA.dts  | 1 -
>  arch/arm/dts/zynqmp-zcu111-revA.dts  | 1 -
>  arch/arm/dts/zynqmp-zcu1275-revB.dts | 4 ++++
>  4 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts
> index 14aa98de73fe..d1b0dab1c6d5 100644
> --- a/arch/arm/dts/zynqmp-zcu100-revC.dts
> +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts
> @@ -259,6 +259,7 @@
>         no-1-8-v;
>         disable-wp;
>         xlnx,mio_bank = <0>;
> +       no-1-8-v;
>  };
>
>  &sdhci1 {
> diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
> index b4dd10133008..7c73ff283e7a 100644
> --- a/arch/arm/dts/zynqmp-zcu106-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
> @@ -653,7 +653,6 @@
>  /* SD1 with level shifter */
>  &sdhci1 {
>         status = "okay";
> -       no-1-8-v;
>         xlnx,mio_bank = <1>;
>  };
>
> diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts
> index aabf73dd6dc9..ca95d7e059a8 100644
> --- a/arch/arm/dts/zynqmp-zcu111-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu111-revA.dts
> @@ -566,7 +566,6 @@
>  /* SD1 with level shifter */
>  &sdhci1 {
>         status = "okay";
> -       no-1-8-v;
>         disable-wp;
>         xlnx,mio_bank = <1>;
>  };
> diff --git a/arch/arm/dts/zynqmp-zcu1275-revB.dts b/arch/arm/dts/zynqmp-zcu1275-revB.dts
> index 34c4becd434a..2ec29b0b5d11 100644
> --- a/arch/arm/dts/zynqmp-zcu1275-revB.dts
> +++ b/arch/arm/dts/zynqmp-zcu1275-revB.dts
> @@ -75,6 +75,10 @@
>
>  &sdhci1 {
>         status = "okay";
> +       /*
> +        * 1.0 revision has level shifter and this property should be
> +        * removed for supporting UHS mode
> +        */
>         no-1-8-v;
>         xlnx,mio_bank = <1>;
>  };
> --
> 2.24.0
>

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