Message ID | 20240629021827.389274-1-festevam@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: dts: imx6sx-udoo-neo: Properly configure ENET_REF | expand |
On Fri, Jun 28, 2024 at 11:18:27PM -0300, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > By default, the ENET_REF is configured at 125MHz on i.MX6SX, which works > well for boards that operate in RGMII mode. > > The imx6sx-udoo-neo has a KSZ8091 Ethernet PHY that is connected via > RMII interface, so a 50MHz ENET_REF clock is expected. > > Describe the IMX6SX_CLK_ENET_REF accordingly. > > Signed-off-by: Fabio Estevam <festevam@denx.de> Applied, thanks!
diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo.dtsi index 725d0b5cb55f..bbf792ac4896 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo.dtsi @@ -72,6 +72,11 @@ reg_wlan: regulator-wlan { }; }; +&clks { + assigned-clocks = <&clks IMX6SX_CLK_ENET_REF>; + assigned-clock-rates = <50000000>; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet1>;