Skip to contentSkip to conversation

T104xD4RDB: Fix PHY address for PHY connected to FM1@DTSEC3

PATCH New Codrin Ciubotariu 2 participants 2 messages Oct 12, 2015 – Nov 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 T104xD4RDB: Fix PHY address for PHY connected to FM1@DTSEC3

On T1040D4RDB board, u-boot fails to connect port FM1 at DTSEC3 to the Ethernet PHY because the wrong PHY address is used. Also, T1040D4RDB supports SGMII on one port only.

---
 include/configs/T104xRDB.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/configs/T104xRDB.h +3 -1
index 5b61b56..e872507 100644
@@ -742,7 +742,9 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_rcw.cfg
 #ifdef CONFIG_FMAN_ENET
 #if defined(CONFIG_T1040RDB) || defined(CONFIG_T1042RDB)
 #define CONFIG_SYS_SGMII1_PHY_ADDR             0x03
-#elif defined(CONFIG_T1040D4RDB) || defined(CONFIG_T1042D4RDB)
+#elif defined(CONFIG_T1040D4RDB)
+#define CONFIG_SYS_SGMII1_PHY_ADDR             0x01
+#elif defined(CONFIG_T1042D4RDB)
 #define CONFIG_SYS_SGMII1_PHY_ADDR             0x02
 #define CONFIG_SYS_SGMII2_PHY_ADDR             0x03
 #define CONFIG_SYS_SGMII3_PHY_ADDR             0x01
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 T104xD4RDB: Fix PHY address for PHY connected to FM1@DTSEC3

Quoted 6 lines · Codrin Ciubotariu

On T1040D4RDB board, u-boot fails to connect port FM1 at DTSEC3 to the Ethernet PHY because the wrong PHY address is used. Also, T1040D4RDB supports SGMII on one port only.

---

Applied to u-boot-mpc85xx, awaiting upstream. Thanks.

York