diff mbox series

xilinx: zynqmp: Fix MIO 18 configuration on zcu104 revC

Message ID bd301b38679d5ed767810495e1c1b39f7f15e81c.1586345495.git.michal.simek@xilinx.com
State Accepted
Commit dec206a09b660ee1ac58e3cd9a7b2003aeca4381
Headers show
Series xilinx: zynqmp: Fix MIO 18 configuration on zcu104 revC | expand

Commit Message

Michal Simek April 8, 2020, 11:31 a.m. UTC
Without this change QSPI is not detected on zcu104 revC.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Michal Simek April 30, 2020, 7:34 a.m. UTC | #1
st 8. 4. 2020 v 13:31 odes?latel Michal Simek <michal.simek at xilinx.com> napsal:
>
> Without this change QSPI is not detected on zcu104 revC.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c
> index 4805e5a3b914..383e3d0c7e13 100644
> --- a/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c
> +++ b/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c
> @@ -363,6 +363,7 @@ static unsigned long psu_mio_init_data(void)
>         psu_mask_write(0xFF18000C, 0x000000FEU, 0x00000002U);
>         psu_mask_write(0xFF180010, 0x000000FEU, 0x00000002U);
>         psu_mask_write(0xFF180014, 0x000000FEU, 0x00000002U);
> +       psu_mask_write(0xFF180018, 0x000000FEU, 0x00000002U);
>         psu_mask_write(0xFF180040, 0x000000FEU, 0x00000040U);
>         psu_mask_write(0xFF180044, 0x000000FEU, 0x00000040U);
>         psu_mask_write(0xFF180048, 0x000000FEU, 0x000000C0U);
> @@ -408,7 +409,7 @@ static unsigned long psu_mio_init_data(void)
>         psu_mask_write(0xFF18012C, 0x000000FEU, 0x00000002U);
>         psu_mask_write(0xFF180130, 0x000000FEU, 0x000000C0U);
>         psu_mask_write(0xFF180134, 0x000000FEU, 0x000000C0U);
> -       psu_mask_write(0xFF180204, 0x7B3F003FU, 0x52240000U);
> +       psu_mask_write(0xFF180204, 0x7B3F007FU, 0x52240000U);
>         psu_mask_write(0xFF180208, 0xFFFFE000U, 0x00B02000U);
>         psu_mask_write(0xFF18020C, 0x00003FFFU, 0x00000FC0U);
>         psu_mask_write(0xFF180138, 0x03FFFFFFU, 0x03FFFFFFU);
> --
> 2.26.0
>

Applied.
M
diff mbox series

Patch

diff --git a/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c
index 4805e5a3b914..383e3d0c7e13 100644
--- a/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c
+++ b/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c
@@ -363,6 +363,7 @@  static unsigned long psu_mio_init_data(void)
 	psu_mask_write(0xFF18000C, 0x000000FEU, 0x00000002U);
 	psu_mask_write(0xFF180010, 0x000000FEU, 0x00000002U);
 	psu_mask_write(0xFF180014, 0x000000FEU, 0x00000002U);
+	psu_mask_write(0xFF180018, 0x000000FEU, 0x00000002U);
 	psu_mask_write(0xFF180040, 0x000000FEU, 0x00000040U);
 	psu_mask_write(0xFF180044, 0x000000FEU, 0x00000040U);
 	psu_mask_write(0xFF180048, 0x000000FEU, 0x000000C0U);
@@ -408,7 +409,7 @@  static unsigned long psu_mio_init_data(void)
 	psu_mask_write(0xFF18012C, 0x000000FEU, 0x00000002U);
 	psu_mask_write(0xFF180130, 0x000000FEU, 0x000000C0U);
 	psu_mask_write(0xFF180134, 0x000000FEU, 0x000000C0U);
-	psu_mask_write(0xFF180204, 0x7B3F003FU, 0x52240000U);
+	psu_mask_write(0xFF180204, 0x7B3F007FU, 0x52240000U);
 	psu_mask_write(0xFF180208, 0xFFFFE000U, 0x00B02000U);
 	psu_mask_write(0xFF18020C, 0x00003FFFU, 0x00000FC0U);
 	psu_mask_write(0xFF180138, 0x03FFFFFFU, 0x03FFFFFFU);