On Mon, May 28, 2018 at 8:20 PM, Andrew Lunn <and...@lunn.ch> wrote: > On Mon, May 28, 2018 at 07:47:48PM +0200, Linus Walleij wrote: >> This is a second RFC version of the DSA driver for Realtek >> RTL8366x especially RTL8366RB. >> >> I've been beating my head against this one and I'm not really >> clear on why my ethernet frames are not coming through to the >> CPU port on the chip. >> >> It appears when using ethtool -S on the ports that packets >> are passing fine into the router fabric and through to the >> CPU port but the ethernet driver where the fixed link is >> connected refuse to accept the packages. > > Hi Linus > > Have you played with RGMII delays?
No not like I changed them or anything... the SoC has some set-up for skew and delay on the nanosecond level, but I used the vendor defaults, verified to be the same in their custom kernel tree. It's this stuff from the DTS: + conf0 { + pins = "V8 GMAC0 RXDV", "T10 GMAC1 RXDV"; + skew-delay = <0>; + }; + conf1 { + pins = "Y7 GMAC0 RXC", "Y11 GMAC1 RXC"; + skew-delay = <15>; + }; + conf2 { + pins = "T8 GMAC0 TXEN", "W11 GMAC1 TXEN"; + skew-delay = <7>; + }; + conf3 { + pins = "U8 GMAC0 TXC"; + skew-delay = <11>; + }; + conf4 { + pins = "V11 GMAC1 TXC"; + skew-delay = <10>; + }; Yours, Linus Walleij _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/listinfo/openwrt-devel