diff options
author | Andy Fleming <afleming@freescale.com> | 2007-07-10 18:28:49 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-18 18:29:37 -0400 |
commit | cc65185d400c4e8698ff1c1b59f90bd491e9bda5 (patch) | |
tree | 8915d98fa36a03782692ea7dc4e1e5e685ada423 | |
parent | 1d5e83aac54b64b71b225fd5cf2e82491ad145f6 (diff) |
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>
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 6 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mpc8641_hpcn.dts | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 0c2434822094..76733a3962f0 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -1250,6 +1250,12 @@ platforms are moved over to use the flattened-device-tree model. | |||
1250 | network device. This is used by the bootwrapper to interpret | 1250 | network device. This is used by the bootwrapper to interpret |
1251 | MAC addresses passed by the firmware when no information other | 1251 | MAC addresses passed by the firmware when no information other |
1252 | than indices is available to associate an address with a device. | 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 | Example: | 1260 | Example: |
1255 | 1261 | ||
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index db56a02b748f..6a78a2b37c08 100644 --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts | |||
@@ -131,6 +131,7 @@ | |||
131 | interrupts = <1d 2 1e 2 22 2>; | 131 | interrupts = <1d 2 1e 2 22 2>; |
132 | interrupt-parent = <&mpic>; | 132 | interrupt-parent = <&mpic>; |
133 | phy-handle = <&phy0>; | 133 | phy-handle = <&phy0>; |
134 | phy-connection-type = "rgmii-id"; | ||
134 | }; | 135 | }; |
135 | 136 | ||
136 | ethernet@25000 { | 137 | ethernet@25000 { |
@@ -150,6 +151,7 @@ | |||
150 | interrupts = <23 2 24 2 28 2>; | 151 | interrupts = <23 2 24 2 28 2>; |
151 | interrupt-parent = <&mpic>; | 152 | interrupt-parent = <&mpic>; |
152 | phy-handle = <&phy1>; | 153 | phy-handle = <&phy1>; |
154 | phy-connection-type = "rgmii-id"; | ||
153 | }; | 155 | }; |
154 | 156 | ||
155 | ethernet@26000 { | 157 | ethernet@26000 { |
@@ -169,6 +171,7 @@ | |||
169 | interrupts = <1F 2 20 2 21 2>; | 171 | interrupts = <1F 2 20 2 21 2>; |
170 | interrupt-parent = <&mpic>; | 172 | interrupt-parent = <&mpic>; |
171 | phy-handle = <&phy2>; | 173 | phy-handle = <&phy2>; |
174 | phy-connection-type = "rgmii-id"; | ||
172 | }; | 175 | }; |
173 | 176 | ||
174 | ethernet@27000 { | 177 | ethernet@27000 { |
@@ -188,6 +191,7 @@ | |||
188 | interrupts = <25 2 26 2 27 2>; | 191 | interrupts = <25 2 26 2 27 2>; |
189 | interrupt-parent = <&mpic>; | 192 | interrupt-parent = <&mpic>; |
190 | phy-handle = <&phy3>; | 193 | phy-handle = <&phy3>; |
194 | phy-connection-type = "rgmii-id"; | ||
191 | }; | 195 | }; |
192 | serial@4500 { | 196 | serial@4500 { |
193 | device_type = "serial"; | 197 | device_type = "serial"; |