[PATCH] ARM: at91/dt: sama5d3 xplained: add phy address for macb0

Nicolas Ferre nicolas.ferre at atmel.com
Tue Mar 31 02:01:12 PDT 2015


Specify the phy address on macb0 node aka GEM.

Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index 6c4bc53cbf4e..08cb500ce171 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -105,7 +105,13 @@
 
 			macb0: ethernet at f0028000 {
 				phy-mode = "rgmii";
+				#address-cells = <1>;
+				#size-cells = <0>;
 				status = "okay";
+
+				ethernet-phy at 7 {
+					reg = <0x7>;
+				};
 			};
 
 			pwm0: pwm at f002c000 {
-- 
2.1.3




More information about the linux-arm-kernel mailing list