[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200724105033.2124881-8-codrin.ciubotariu@microchip.com>
Date: Fri, 24 Jul 2020 13:50:33 +0300
From: Codrin Ciubotariu <codrin.ciubotariu@...rochip.com>
To: <netdev@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <nicolas.ferre@...rochip.com>, <claudiu.beznea@...rochip.com>,
<davem@...emloft.net>, <kuba@...nel.org>, <andrew@...n.ch>,
<f.fainelli@...il.com>, <robh+dt@...nel.org>,
<alexandre.belloni@...tlin.com>, <ludovic.desroches@...rochip.com>,
"Codrin Ciubotariu" <codrin.ciubotariu@...rochip.com>
Subject: [PATCH net-next v3 7/7] ARM: dts: at91: sam9x60: add an mdio sub-node to macb
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@...rochip.com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
---
Changes in v3:
- added tag from Florian
Changes in v2:
- none
arch/arm/boot/dts/at91-sam9x60ek.dts | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
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>;
+ };
};
};
--
2.25.1
Powered by blists - more mailing lists