Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6q-tbs2910: Add an mdio node

imx6q-tbs2910 has an Atheros AR8035 Ethernet PHY at address 4.

The AR8035 provides a 125MHz clock to the ENET_REF_CLK i.MX6 pin.

Improve the Ethernet representation by adding an mdio node with such
information.

This fixes an Ethernet regression in U-Boot as U-Boot AR803X driver now
expects the 'qca,clk-out-frequency' property to be passed via
device tree.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Soeren Moch <smoch@web.de>
Tested-by: Soeren Moch <smoch@web.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
9c852ad9 cfe7d1bd

+11
+11
arch/arm/boot/dts/imx6q-tbs2910.dts
··· 100 100 pinctrl-0 = <&pinctrl_enet>; 101 101 phy-mode = "rgmii-id"; 102 102 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; 103 + phy-handle = <&phy>; 103 104 status = "okay"; 105 + 106 + mdio { 107 + #address-cells = <1>; 108 + #size-cells = <0>; 109 + 110 + phy: ethernet-phy@4 { 111 + reg = <4>; 112 + qca,clk-out-frequency = <125000000>; 113 + }; 114 + }; 104 115 }; 105 116 106 117 &hdmi {