From f3d9730cb0f44024d315d4c5a2fd60bb96c34aba Mon Sep 17 00:00:00 2001 From: Vignesh Raghavendra Date: Wed, 9 Jun 2021 15:38:58 +0530 Subject: arm64: dts: ti: k3-am642-evm-icssg1-dualemac: Fixup ethernet aliases for ICSSG ports With CPSW second port disabled, ethernet aliases have to be remapped to make sure U-Boot fixes up MAC addresses for both ICSSG Ports with that read from EEPROM. Without this second ICSSG port ends up using Random MAC address currently. Signed-off-by: Vignesh Raghavendra --- arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dts b/arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dts index dbee8216316c..8eab2d4b711d 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dts @@ -15,6 +15,11 @@ target-path = "/"; __overlay__ { + aliases { + ethernet1 = "/icssg1-eth/ethernet-mii0"; + ethernet2 = "/icssg1-eth/ethernet-mii1"; + }; + mdio-mux-2 { compatible = "mdio-mux-multiplexer"; mux-controls = <&mdio_mux>; -- cgit v1.2.3 From 0cb222e43072b2e841765ee7902a60d6a9ce6fc2 Mon Sep 17 00:00:00 2001 From: Vignesh Raghavendra Date: Wed, 9 Jun 2021 16:13:29 +0530 Subject: arm64: dts: ti: am654-idk: Fixup ethernet aliases Fixup path to icssg ports path by replacing '_' with '-'. Without this U-Boot fails to find correct ethernet-mii node and thus fails to fixup mac addresses. Signed-off-by: Vignesh Raghavendra --- arch/arm64/boot/dts/ti/k3-am654-idk.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am654-idk.dts b/arch/arm64/boot/dts/ti/k3-am654-idk.dts index b09b11c317b4..e388d8400ad3 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-idk.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-idk.dts @@ -17,10 +17,10 @@ __overlay__ { aliases { - ethernet3 = "/icssg0_eth/ethernet-mii0"; - ethernet4 = "/icssg0_eth/ethernet-mii1"; - ethernet5 = "/icssg1_eth/ethernet-mii0"; - ethernet6 = "/icssg1_eth/ethernet-mii1"; + ethernet3 = "/icssg0-eth/ethernet-mii0"; + ethernet4 = "/icssg0-eth/ethernet-mii1"; + ethernet5 = "/icssg1-eth/ethernet-mii0"; + ethernet6 = "/icssg1-eth/ethernet-mii1"; }; transceiver1: can-phy@0 { -- cgit v1.2.3