Skip to content

Commit fb6823a

Browse files
committed
ARM: dts: Fix wrong mdio clock for dm814x
Recent PTP-specific cpsw driver changes started exposing an issue on at at least j5eco-evm: Unhandled fault: external abort on non-linefetch (0x1008) at 0xf0169004 ... (davinci_mdio_runtime_suspend) from [<c063f2a4>] (__rpm_callback+0x84/0x154) (__rpm_callback) from [<c063f394>] (rpm_callback+0x20/0x80) (rpm_callback) from [<c063f4f0>] (rpm_suspend+0xfc/0x6ac) (rpm_suspend) from [<c0640af0>] (pm_runtime_work+0x88/0xa4) (pm_runtime_work) from [<c0155338>] (process_one_work+0x228/0x568) ... Let's fix the issue by using the correct mdio clock as suggested by Grygorii Strashko <[email protected]>. The DM814_ETHERNET_CPGMAC0_CLKCTRL clock is the interconnect target module clock and managed by ti-sysc. Fixes: 6398f34 ("ARM: dts: Configure interconnect target module for dm814x cpsw") Cc: Grygorii Strashko <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 2de0045 commit fb6823a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/dts/dm814x.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@
693693

694694
davinci_mdio: mdio@800 {
695695
compatible = "ti,cpsw-mdio", "ti,davinci_mdio";
696-
clocks = <&alwon_ethernet_clkctrl DM814_ETHERNET_CPGMAC0_CLKCTRL 0>;
696+
clocks = <&cpsw_125mhz_gclk>;
697697
clock-names = "fck";
698698
#address-cells = <1>;
699699
#size-cells = <0>;

0 commit comments

Comments
 (0)