[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>
This commit is contained in:
@@ -228,8 +228,8 @@
|
||||
interrupts = <22>;
|
||||
interrupt-parent = < &qeic >;
|
||||
local-mac-address = [ 00 00 00 00 00 00 ];
|
||||
rx-clock = <19>;
|
||||
tx-clock = <1a>;
|
||||
rx-clock-name = "clk9";
|
||||
tx-clock-name = "clk10";
|
||||
phy-handle = < &phy3 >;
|
||||
pio-handle = < &pio3 >;
|
||||
};
|
||||
@@ -244,8 +244,8 @@
|
||||
interrupts = <23>;
|
||||
interrupt-parent = < &qeic >;
|
||||
local-mac-address = [ 00 00 00 00 00 00 ];
|
||||
rx-clock = <17>;
|
||||
tx-clock = <18>;
|
||||
rx-clock-name = "clk7";
|
||||
tx-clock-name = "clk8";
|
||||
phy-handle = < &phy4 >;
|
||||
pio-handle = < &pio4 >;
|
||||
};
|
||||
|
Reference in New Issue
Block a user