]> git.ipfire.org Git - thirdparty/u-boot.git/commit
board: ti: am335x: Conditional MDIO PAD configuration instead of static for AM335_ICE
authorParvathi Pudi <parvathi@couthit.com>
Thu, 7 May 2026 06:23:49 +0000 (11:53 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 14 May 2026 21:41:07 +0000 (15:41 -0600)
commit55e767426ef6dc59d40eacc89dae6cdee2c582ee
tree00bb9296a85cdc59d27c946582eda004c07d9957
parent46606025225274b065490daf50bd58defb6b6659
board: ti: am335x: Conditional MDIO PAD configuration instead of static for AM335_ICE

This patch removes the static MDIO pinmux configuration from
rmii1_pin_mux[] and instead configures the MDIO pins conditionally
during board_init(). Previously, the MDIO_CLK and MDIO_DATA pins
were always configured for CPSW in mux.c, which could lead to
unnecessary pin ownership and conflicts in scenarios where CPSW
is not used.

With this change, the MDIO pins are configured only when required,
ensuring that CPSW Ethernet functionality in U-Boot remains unaffected.
This approach keeps Ethernet boot behavior intact and provides cleaner
separation between CPSW and other Ethernet use cases.

Reviewed-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com>
Signed-off-by: Parvathi Pudi <parvathi@couthit.com>
board/ti/am335x/board.c
board/ti/am335x/mux.c