summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2022-10-25 17:41:16 +0300
committerShawn Guo <shawnguo@kernel.org>2022-10-29 20:31:21 +0800
commitd78a57426e64fc4c61e6189e450a0432d24536ca (patch)
tree51ce57e833215115aa6d9aca15ce11da85c428b9 /arch
parentc126a0abc5dadd7df236f20aae6d8c3d103f095c (diff)
downloadlinux-stable-d78a57426e64fc4c61e6189e450a0432d24536ca.tar.gz
linux-stable-d78a57426e64fc4c61e6189e450a0432d24536ca.tar.bz2
linux-stable-d78a57426e64fc4c61e6189e450a0432d24536ca.zip
arm64: dts: ls1088a: 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: bbe75af7b092 ("arm64: dts: ls1088a: add external MDIO device nodes") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index 421d879013d7..260d045dbd9a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -779,6 +779,9 @@
little-endian;
#address-cells = <1>;
#size-cells = <0>;
+ clock-frequency = <2500000>;
+ clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
+ QORIQ_CLK_PLL_DIV(1)>;
status = "disabled";
};
@@ -788,6 +791,9 @@
little-endian;
#address-cells = <1>;
#size-cells = <0>;
+ clock-frequency = <2500000>;
+ clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
+ QORIQ_CLK_PLL_DIV(1)>;
status = "disabled";
};