Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Add phy-connection-type to gianfar nodes

The TSEC/eTSEC automatically detect their PHY interface type, unless
the type is RGMII-ID (RGMII with internal delay). In that situation,
it just detects RGMII. In order to fix this, we need to pass in rgmii-id
if that is the connection type.

Signed-off-by: Andy Fleming <afleming@freescale.com>

authored by

Andy Fleming and committed by
Jeff Garzik
cc65185d 1d5e83aa

+10
+6
Documentation/powerpc/booting-without-of.txt
··· 1250 1250 network device. This is used by the bootwrapper to interpret 1251 1251 MAC addresses passed by the firmware when no information other 1252 1252 than indices is available to associate an address with a device. 1253 + - phy-connection-type : a string naming the controller/PHY interface type, 1254 + i.e., "mii" (default), "rmii", "gmii", "rgmii", "rgmii-id", "sgmii", 1255 + "tbi", or "rtbi". This property is only really needed if the connection 1256 + is of type "rgmii-id", as all other connection types are detected by 1257 + hardware. 1258 + 1253 1259 1254 1260 Example: 1255 1261
+4
arch/powerpc/boot/dts/mpc8641_hpcn.dts
··· 131 131 interrupts = <1d 2 1e 2 22 2>; 132 132 interrupt-parent = <&mpic>; 133 133 phy-handle = <&phy0>; 134 + phy-connection-type = "rgmii-id"; 134 135 }; 135 136 136 137 ethernet@25000 { ··· 151 150 interrupts = <23 2 24 2 28 2>; 152 151 interrupt-parent = <&mpic>; 153 152 phy-handle = <&phy1>; 153 + phy-connection-type = "rgmii-id"; 154 154 }; 155 155 156 156 ethernet@26000 { ··· 171 169 interrupts = <1F 2 20 2 21 2>; 172 170 interrupt-parent = <&mpic>; 173 171 phy-handle = <&phy2>; 172 + phy-connection-type = "rgmii-id"; 174 173 }; 175 174 176 175 ethernet@27000 { ··· 191 188 interrupts = <25 2 26 2 27 2>; 192 189 interrupt-parent = <&mpic>; 193 190 phy-handle = <&phy3>; 191 + phy-connection-type = "rgmii-id"; 194 192 }; 195 193 serial@4500 { 196 194 device_type = "serial";