Commit d5c921a5 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Shawn Guo

arm64: dts: ls208xa: specify clock frequencies for the MDIO controllers

Up until now, the external MDIO controller frequency values relied
either on the default ones out of reset or on those setup by u-boot.
Let's just properly specify the MDC frequency in the DTS so that even
without u-boot's intervention Linux can drive the MDIO bus.

Fixes: 0420dde3 ("arm64: dts: ls208xa: add the external MDIO nodes")
Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent d78a5742
...@@ -532,6 +532,9 @@ emdio1: mdio@8b96000 { ...@@ -532,6 +532,9 @@ emdio1: mdio@8b96000 {
little-endian; little-endian;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clock-frequency = <2500000>;
clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
QORIQ_CLK_PLL_DIV(2)>;
status = "disabled"; status = "disabled";
}; };
...@@ -541,6 +544,9 @@ emdio2: mdio@8b97000 { ...@@ -541,6 +544,9 @@ emdio2: mdio@8b97000 {
little-endian; little-endian;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clock-frequency = <2500000>;
clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
QORIQ_CLK_PLL_DIV(2)>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment