diff mbox series

ARM: dts: imx6qdl-wandboard: add ethernet PHY description

Message ID 20190921120736.32290-1-agust@denx.de (mailing list archive)
State Mainlined
Commit 77591e42458d87aafd6baa10cb7aec536ad40669
Headers show
Series ARM: dts: imx6qdl-wandboard: add ethernet PHY description | expand

Commit Message

Anatolij Gustschin Sept. 21, 2019, 12:07 p.m. UTC
Wandboard devicetrees lack the ethernet PHY description, add it.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 arch/arm/boot/dts/imx6qdl-wandboard.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Shawn Guo Oct. 7, 2019, 12:38 p.m. UTC | #1
On Sat, Sep 21, 2019 at 02:07:36PM +0200, Anatolij Gustschin wrote:
> Wandboard devicetrees lack the ethernet PHY description, add it.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
index 2cfb4112a467..c070893c509e 100644
--- a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
@@ -279,8 +279,18 @@ 
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_enet>;
 	phy-mode = "rgmii-id";
+	phy-handle = <&ethphy>;
 	phy-reset-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
 	status = "okay";
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy: ethernet-phy@1 {
+			reg = <1>;
+		};
+	};
 };
 
 &mipi_csi {