| From 2dc3fb38cb50f1e7b7a9a1334c0eaaf7aafef26b Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Tue, 14 Sep 2021 14:17:15 -0300 |
| Subject: ARM: dts: imx6qdl-pico: Fix Ethernet support |
| |
| From: Fabio Estevam <festevam@gmail.com> |
| |
| [ Upstream commit 450e7fe9b1b3c90eeed74a2fe0eeb13a7b57f3da ] |
| |
| Currently, it is no longer possible to retrieve a DHCP address |
| on the imx6qdl-pico board. |
| |
| This issue has been exposed by commit f5d9aa79dfdf ("ARM: imx6q: |
| remove clk-out fixup for the Atheros AR8031 and AR8035 PHYs"). |
| |
| Fix it by describing the qca,clk-out-frequency property as suggested |
| by the commit above. |
| |
| Fixes: 98670a0bb0ef14bbb3 ("ARM: dts: imx6qdl: Add imx6qdl-pico support") |
| Signed-off-by: Fabio Estevam <festevam@gmail.com> |
| Reviewed-by: Andrew Lunn <andrew@lunn.ch> |
| Signed-off-by: Shawn Guo <shawnguo@kernel.org> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| arch/arm/boot/dts/imx6qdl-pico.dtsi | 11 +++++++++++ |
| 1 file changed, 11 insertions(+) |
| |
| diff --git a/arch/arm/boot/dts/imx6qdl-pico.dtsi b/arch/arm/boot/dts/imx6qdl-pico.dtsi |
| index 5de4ccb97916..f7a56d6b160c 100644 |
| --- a/arch/arm/boot/dts/imx6qdl-pico.dtsi |
| +++ b/arch/arm/boot/dts/imx6qdl-pico.dtsi |
| @@ -176,7 +176,18 @@ |
| pinctrl-0 = <&pinctrl_enet>; |
| phy-mode = "rgmii-id"; |
| phy-reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; |
| + phy-handle = <&phy>; |
| status = "okay"; |
| + |
| + mdio { |
| + #address-cells = <1>; |
| + #size-cells = <0>; |
| + |
| + phy: ethernet-phy@1 { |
| + reg = <1>; |
| + qca,clk-out-frequency = <125000000>; |
| + }; |
| + }; |
| }; |
| |
| &hdmi { |
| -- |
| 2.33.0 |
| |