diff mbox series

[net-next,v2,7/7] ARM: dts: at91: sam9x60: add an mdio sub-node to macb

Message ID 20200721171316.1427582-8-codrin.ciubotariu@microchip.com
State Changes Requested
Delegated to: David Miller
Headers show
Series Add an MDIO sub-node under MACB | expand

Commit Message

Codrin Ciubotariu July 21, 2020, 5:13 p.m. UTC
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
---

Changes in v2:
 - none

 arch/arm/boot/dts/at91-sam9x60ek.dts | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Florian Fainelli July 23, 2020, 7 p.m. UTC | #1
On 7/21/20 10:13 AM, Codrin Ciubotariu wrote:
> Use the new macb bindings and add an mdio sub-node to contain all the
> phy nodes.
> 
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts
index a5f5718c711a..ba871ebe10d4 100644
--- a/arch/arm/boot/dts/at91-sam9x60ek.dts
+++ b/arch/arm/boot/dts/at91-sam9x60ek.dts
@@ -324,8 +324,12 @@  &macb0 {
 	pinctrl-0 = <&pinctrl_macb0_rmii>;
 	status = "okay";
 
-	ethernet-phy@0 {
-		reg = <0x0>;
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		ethernet-phy@0 {
+			reg = <0x0>;
+		};
 	};
 };