diff options
author | Shenwei Wang <shenwei.wang@nxp.com> | 2022-08-02 10:17:33 -0500 |
---|---|---|
committer | Shenwei Wang <shenwei.wang@nxp.com> | 2022-08-02 11:01:07 -0500 |
commit | 79e0262f019f44bd190d31ba22069bd34093b6b9 (patch) | |
tree | b067456505575408608cdce551e4467b1d47f7ce /arch/arm64/boot/dts/freescale | |
parent | 16cf249402149c70b76ef6fcb15e720c15b8afe5 (diff) |
LF-6586: dts: arm64: freescale: enable RMII interface on imx8dxl/qxp
Adjust the external PHY power on sequence, and use the correct TJA1100
PHY address, and enabled the RMII interface on imx8dxl and imx8qxp
boards.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale')
3 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0-tja1100.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0-tja1100.dts index b1de12136d68..79cb633cd858 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0-tja1100.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0-tja1100.dts @@ -18,6 +18,7 @@ <&enet0_lpcg 1>; phy-mode = "rmii"; phy-handle = <ðphy2>; + phy-supply = <&mii_select>; status = "okay"; mdio { @@ -26,7 +27,7 @@ ethphy2: ethernet-phy@2 { compatible = "ethernet-phy-ieee802.3-c22"; - reg = <2>; + reg = <5>; tja110x,refclk_in; }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0.dts index 9f4d94ec6e76..956052169948 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk-enet0.dts @@ -24,6 +24,9 @@ }; &fec1 { + assigned-clocks = <&clk IMX_SC_R_ENET_0 IMX_SC_C_CLKDIV>; + assigned-clock-rates = <12000000>; + phy-supply = <®_fec1_io>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-enet2-tja1100.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-enet2-tja1100.dtsi index d8d5b37196df..579c42c6c8df 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-enet2-tja1100.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-enet2-tja1100.dtsi @@ -33,7 +33,7 @@ ethphy2: ethernet-phy@2 { compatible = "ethernet-phy-ieee802.3-c22"; - reg = <2>; + reg = <5>; tja110x,refclk_in; }; }; |