
Note that this patch works with new dts. Please refer to: http://patchwork.ozlabs.org/patch/170617/
-Hongtao.
-----Original Message----- From: Jia Hongtao-B38951 Sent: Thursday, July 12, 2012 5:40 PM To: u-boot@lists.denx.de Cc: afleming@gmail.com; sun york-R58495; Li Yang-R58472; Jia Hongtao- B38951 Subject: [PATCH] powerpc/sgmii: To support PHY link state auto detect in SGMII mode
PHYs on SGMII riser card are used in SGMII mode with different external IRQs from eTSEC. This means in SGMII mode phy-handle and phy-connection- type under ethernet node should be updated. Otherwise the PHY interrupt can not be handled therefor PHY link state change can not be auto detected.
For we have seperate SGMII PHY nodes, ethernet PHY reg fixup is not needed but it's still be kept to guarantee the sgmii mode could work with old device tree.
Signed-off-by: Li Yang leoli@freescale.com Signed-off-by: Jia Hongtao B38951@freescale.com
board/freescale/common/sgmii_riser.c | 57 +++++++++++++++++++++++++++++----- 1 files changed, 49 insertions(+), 8 deletions(-)