aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2024-03-29 12:18:07 +0100
committerFabio Estevam <festevam@gmail.com>2024-03-30 15:12:13 -0300
commit3603e64003c3743fa5bc4dbf2a50f898e972ba01 (patch)
tree0161668f2ac8d3871afa4517fa4abb7c7c8fe5fb
parent5bc7bc60e9e63675e98514024a65a94bb97a4182 (diff)
downloadu-boot-3603e64003c3743fa5bc4dbf2a50f898e972ba01.zip
u-boot-3603e64003c3743fa5bc4dbf2a50f898e972ba01.tar.gz
u-boot-3603e64003c3743fa5bc4dbf2a50f898e972ba01.tar.bz2
arm: spl: Add definition for PHY reset GPIO for XEA HW rev. 2
The imx287 based XEA board's revision 2 uses GPIO_3_21 for PHY reset It is safe to keep the GPIO_2_13 as well, as in the SPL SPI1 is not used for transmission. This simplifies the code, as the proper configuration is performed either in falcon boot's read DTB or in u-boot proper (with correct FIT configuration chosen). Signed-off-by: Lukasz Majewski <lukma@denx.de>
-rw-r--r--board/liebherr/xea/spl_xea.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c
index 551ed6f..4068a2a 100644
--- a/board/liebherr/xea/spl_xea.c
+++ b/board/liebherr/xea/spl_xea.c
@@ -225,7 +225,8 @@ const iomux_cfg_t iomux_setup[] = {
MX28_PAD_ENET0_TXD0__ENET0_TXD0 | MUX_CONFIG_ENET,
MX28_PAD_ENET0_TXD1__ENET0_TXD1 | MUX_CONFIG_ENET,
MX28_PAD_ENET0_TXD3__ENET1_TXD1 | MUX_CONFIG_ENET,
- MX28_PAD_SSP1_CMD__GPIO_2_13, /* PHY reset */
+ MX28_PAD_SSP1_CMD__GPIO_2_13, /* PHY reset HW Rev. 1*/
+ MX28_PAD_SAIF0_LRCLK__GPIO_3_21, /* PHY reset HW Rev. 2*/
/* TIVA boot control */
MX28_PAD_GPMI_RDY3__GPIO_0_23 | MUX_CONFIG_BOOT, /* TIVA0 */