aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2007-12-03 16:17:59 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-12-14 02:16:58 -0500
commit9fb1e350e16164d56990dde036ae9c0a2fd3f634 (patch)
tree0a30b62b987e5d17c3bc3cc1f6d2a321bb8b715c /arch/powerpc
parent174b0da23199c4ae1ed06263dafd9a2e85e97d34 (diff)
[POWERPC] ucc_geth: use rx-clock-name and tx-clock-name device tree properties
Updates the ucc_geth device driver to check the new rx-clock-name and tx-clock-name properties first. If present, it uses the new function qe_clock_source() to obtain the clock source. Otherwise, it checks the deprecated rx-clock and tx-clock properties. Update the device trees for 832x, 836x, and 8568 to contain the new property names only. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/boot/dts/mpc832x_mds.dts8
-rw-r--r--arch/powerpc/boot/dts/mpc832x_rdb.dts8
-rw-r--r--arch/powerpc/boot/dts/mpc836x_mds.dts8
-rw-r--r--arch/powerpc/boot/dts/mpc8568mds.dts8
4 files changed, 16 insertions, 16 deletions
diff --git a/arch/powerpc/boot/dts/mpc832x_mds.dts b/arch/powerpc/boot/dts/mpc832x_mds.dts
index 5a88187fe6be..26ac467b10ea 100644
--- a/arch/powerpc/boot/dts/mpc832x_mds.dts
+++ b/arch/powerpc/boot/dts/mpc832x_mds.dts
@@ -228,8 +228,8 @@
228 interrupts = <22>; 228 interrupts = <22>;
229 interrupt-parent = < &qeic >; 229 interrupt-parent = < &qeic >;
230 local-mac-address = [ 00 00 00 00 00 00 ]; 230 local-mac-address = [ 00 00 00 00 00 00 ];
231 rx-clock = <19>; 231 rx-clock-name = "clk9";
232 tx-clock = <1a>; 232 tx-clock-name = "clk10";
233 phy-handle = < &phy3 >; 233 phy-handle = < &phy3 >;
234 pio-handle = < &pio3 >; 234 pio-handle = < &pio3 >;
235 }; 235 };
@@ -244,8 +244,8 @@
244 interrupts = <23>; 244 interrupts = <23>;
245 interrupt-parent = < &qeic >; 245 interrupt-parent = < &qeic >;
246 local-mac-address = [ 00 00 00 00 00 00 ]; 246 local-mac-address = [ 00 00 00 00 00 00 ];
247 rx-clock = <17>; 247 rx-clock-name = "clk7";
248 tx-clock = <18>; 248 tx-clock-name = "clk8";
249 phy-handle = < &phy4 >; 249 phy-handle = < &phy4 >;
250 pio-handle = < &pio4 >; 250 pio-handle = < &pio4 >;
251 }; 251 };
diff --git a/arch/powerpc/boot/dts/mpc832x_rdb.dts b/arch/powerpc/boot/dts/mpc832x_rdb.dts
index d31498628307..10ff7aadf9dc 100644
--- a/arch/powerpc/boot/dts/mpc832x_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc832x_rdb.dts
@@ -209,8 +209,8 @@
209 interrupts = <21>; 209 interrupts = <21>;
210 interrupt-parent = <&qeic>; 210 interrupt-parent = <&qeic>;
211 local-mac-address = [ 00 00 00 00 00 00 ]; 211 local-mac-address = [ 00 00 00 00 00 00 ];
212 rx-clock = <20>; 212 rx-clock-name = "clk16";
213 tx-clock = <13>; 213 tx-clock-name = "clk3";
214 phy-handle = <&phy00>; 214 phy-handle = <&phy00>;
215 pio-handle = <&ucc2pio>; 215 pio-handle = <&ucc2pio>;
216 }; 216 };
@@ -225,8 +225,8 @@
225 interrupts = <22>; 225 interrupts = <22>;
226 interrupt-parent = <&qeic>; 226 interrupt-parent = <&qeic>;
227 local-mac-address = [ 00 00 00 00 00 00 ]; 227 local-mac-address = [ 00 00 00 00 00 00 ];
228 rx-clock = <19>; 228 rx-clock-name = "clk9";
229 tx-clock = <1a>; 229 tx-clock-name = "clk10";
230 phy-handle = <&phy04>; 230 phy-handle = <&phy04>;
231 pio-handle = <&ucc3pio>; 231 pio-handle = <&ucc3pio>;
232 }; 232 };
diff --git a/arch/powerpc/boot/dts/mpc836x_mds.dts b/arch/powerpc/boot/dts/mpc836x_mds.dts
index ea07a6f03332..fd841b2fddd0 100644
--- a/arch/powerpc/boot/dts/mpc836x_mds.dts
+++ b/arch/powerpc/boot/dts/mpc836x_mds.dts
@@ -259,8 +259,8 @@
259 interrupts = <20>; 259 interrupts = <20>;
260 interrupt-parent = < &qeic >; 260 interrupt-parent = < &qeic >;
261 local-mac-address = [ 00 00 00 00 00 00 ]; 261 local-mac-address = [ 00 00 00 00 00 00 ];
262 rx-clock = <0>; 262 rx-clock-name = "none";
263 tx-clock = <19>; 263 tx-clock-name = "clk9";
264 phy-handle = < &phy0 >; 264 phy-handle = < &phy0 >;
265 phy-connection-type = "rgmii-id"; 265 phy-connection-type = "rgmii-id";
266 pio-handle = < &pio1 >; 266 pio-handle = < &pio1 >;
@@ -276,8 +276,8 @@
276 interrupts = <21>; 276 interrupts = <21>;
277 interrupt-parent = < &qeic >; 277 interrupt-parent = < &qeic >;
278 local-mac-address = [ 00 00 00 00 00 00 ]; 278 local-mac-address = [ 00 00 00 00 00 00 ];
279 rx-clock = <0>; 279 rx-clock-name = "none";
280 tx-clock = <14>; 280 tx-clock-name = "clk4";
281 phy-handle = < &phy1 >; 281 phy-handle = < &phy1 >;
282 phy-connection-type = "rgmii-id"; 282 phy-connection-type = "rgmii-id";
283 pio-handle = < &pio2 >; 283 pio-handle = < &pio2 >;
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts
index 90545b16130d..5818a7c861e7 100644
--- a/arch/powerpc/boot/dts/mpc8568mds.dts
+++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -327,8 +327,8 @@
327 interrupts = <20>; 327 interrupts = <20>;
328 interrupt-parent = <&qeic>; 328 interrupt-parent = <&qeic>;
329 local-mac-address = [ 00 00 00 00 00 00 ]; 329 local-mac-address = [ 00 00 00 00 00 00 ];
330 rx-clock = <0>; 330 rx-clock-name = "none";
331 tx-clock = <20>; 331 tx-clock-name = "clk16";
332 pio-handle = <&pio1>; 332 pio-handle = <&pio1>;
333 phy-handle = <&phy0>; 333 phy-handle = <&phy0>;
334 phy-connection-type = "rgmii-id"; 334 phy-connection-type = "rgmii-id";
@@ -344,8 +344,8 @@
344 interrupts = <21>; 344 interrupts = <21>;
345 interrupt-parent = <&qeic>; 345 interrupt-parent = <&qeic>;
346 local-mac-address = [ 00 00 00 00 00 00 ]; 346 local-mac-address = [ 00 00 00 00 00 00 ];
347 rx-clock = <0>; 347 rx-clock-name = "none";
348 tx-clock = <20>; 348 tx-clock-name = "clk16";
349 pio-handle = <&pio2>; 349 pio-handle = <&pio2>;
350 phy-handle = <&phy1>; 350 phy-handle = <&phy1>;
351 phy-connection-type = "rgmii-id"; 351 phy-connection-type = "rgmii-id";