]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: ls1088a: specify clock frequencies for the MDIO controllers
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 25 Oct 2022 14:41:16 +0000 (17:41 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 6 Dec 2022 13:45:40 +0000 (14:45 +0100)
BugLink: https://bugs.launchpad.net/bugs/1998843
[ Upstream commit d78a57426e64fc4c61e6189e450a0432d24536ca ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi

index 605072317243619d58438cd8021130c1a2d98c5d..63441028622a6dec26763a13ee0d1c59ee7450b7 100644 (file)
                        little-endian;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       clock-frequency = <2500000>;
+                       clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
+                                           QORIQ_CLK_PLL_DIV(1)>;
                        status = "disabled";
                };
 
                        little-endian;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       clock-frequency = <2500000>;
+                       clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
+                                           QORIQ_CLK_PLL_DIV(1)>;
                        status = "disabled";
                };