Has anyone had any luck connecting imx8 to a MicroChip switch like the KSZ9897 via RGMII? We have been in an all out war for the past 2 weeks trying to make this work and I don't think we've progressed a bit.
The excerpts of our DTS are attached. We are connecting ENET1 to port 6 on the KSZ, but we can't get the littlest bit of encouragement from everything we've read and done.
dmesg looks like this:
[ 913.212173] imx-dwmac 30bf0000.ethernet eth1: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL
[ 913.227388] imx-dwmac 30bf0000.ethernet eth1: __stmmac_open: Cannot attach to PHY (error: -22)
[ 913.251131] imx-dwmac 30bf0000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 913.259402] imx-dwmac 30bf0000.ethernet eth1: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL
[ 913.274606] imx-dwmac 30bf0000.ethernet eth1: __stmmac_open: Cannot attach to PHY (error: -22)
[ 1214.051420] imx-dwmac 30bf0000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 1214.060102] imx-dwmac 30bf0000.ethernet eth1: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL
[ 1214.075328] imx-dwmac 30bf0000.ethernet eth1: __stmmac_open: Cannot attach to PHY (error: -22)
[ 1214.099479] imx-dwmac 30bf0000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 1214.107759] imx-dwmac 30bf0000.ethernet eth1: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL
[ 1214.122971] imx-dwmac 30bf0000.ethernet eth1: __stmmac_open: Cannot attach to PHY (error: -22)
[ 1214.147204] imx-dwmac 30bf0000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 1214.155488] imx-dwmac 30bf0000.ethernet eth1: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL
[ 1214.170706] imx-dwmac 30bf0000.ethernet eth1: __stmmac_open: Cannot attach to PHY (error: -22)
[ 1214.194868] imx-dwmac 30bf0000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 1214.203148] imx-dwmac 30bf0000.ethernet eth1: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL
[ 1214.218366] imx-dwmac 30bf0000.ethernet eth1: __stmmac_open: Cannot attach to PHY (error: -22)
Any suggestions or hints would be tremendously appreciated.
Thanks.