lkml.org 
[lkml]   [2022]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/3] arm64: dts: ls208xa: specify clock frequencies for the MDIO controllers
    Date
    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: 0420dde30a90 ("arm64: dts: ls208xa: add the external MDIO nodes")
    Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
    ---
    arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 ++++++
    1 file changed, 6 insertions(+)

    diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
    index f1b9cc8714dc..348d9e3a9125 100644
    --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
    +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
    @@ -532,6 +532,9 @@ emdio1: mdio@8b96000 {
    little-endian;
    #address-cells = <1>;
    #size-cells = <0>;
    + clock-frequency = <2500000>;
    + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
    + QORIQ_CLK_PLL_DIV(2)>;
    status = "disabled";
    };

    @@ -541,6 +544,9 @@ emdio2: mdio@8b97000 {
    little-endian;
    #address-cells = <1>;
    #size-cells = <0>;
    + clock-frequency = <2500000>;
    + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
    + QORIQ_CLK_PLL_DIV(2)>;
    status = "disabled";
    };

    --
    2.25.1
    \
     
     \ /
      Last update: 2022-10-25 16:42    [W:3.128 / U:1.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site