From: andrew@lunn.ch (Andrew Lunn) Date: Mon, 13 Mar 2017 14:28:54 +0100 Subject: [PATCH] ARM: dts: imx: add Gateworks Ventana GW5904 support In-Reply-To: References: <1489178411-6559-1-git-send-email-tharvey@gateworks.com> <04584d61-f1e2-3722-1f13-ff133edc0c22@gmail.com> Message-ID: <20170313132854.GB748@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > >> &fec { > >> pinctrl-names = "default"; > >> pinctrl-0 = <&pinctrl_enet>; > >> phy-mode = "rgmii-id"; > >> status = "okay"; > > > > You most likely need to declare a fixed PHY for the FEC to be setting up > > the link, speed and duplex? > > Florian, > > Thanks - this appears to be the issue. I declared the fixed-phy down > in the cpu port but I guess it needs to be done in the net device. Hi Tim There are two different MACs here. The switch CPU port MAC, and the FEC MAC. You need to force the FEC MAC to 1Gbps, hence the fixed-phy needs to be in the FEC node. DSA will configure the CPU switch port to its fastest mode. You only need a fixed-phy if you need it to run slower, e.g. it is connected to a 100Mbps port of the vf610, or you need to set a phy-mode in order to set RGMII delays, etc. Andrew