ARM: at91/dt: fix macb node declaration
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 22 Mar 2013 13:47:54 +0000 (14:47 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 4 Apr 2013 15:27:27 +0000 (17:27 +0200)
Macb0 node cannot be activated in generic sam9x5ek.dtsi file
as the sam9g15 does not have one.
Move the macb0 & macb1 activation in board .dts file that
support them.

Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91sam9g25ek.dts
arch/arm/boot/dts/at91sam9g35ek.dts
arch/arm/boot/dts/at91sam9x25ek.dts
arch/arm/boot/dts/at91sam9x35ek.dts
arch/arm/boot/dts/at91sam9x5ek.dtsi

index c5ab16f..a1c511f 100644 (file)
 / {
        model = "Atmel AT91SAM9G25-EK";
        compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+
+       ahb {
+               apb {
+                       macb0: ethernet@f802c000 {
+                               phy-mode = "rmii";
+                               status = "okay";
+                       };
+               };
+       };
 };
index 95944bd..6f58ab8 100644 (file)
 / {
        model = "Atmel AT91SAM9G35-EK";
        compatible = "atmel,at91sam9g35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+
+       ahb {
+               apb {
+                       macb0: ethernet@f802c000 {
+                               phy-mode = "rmii";
+                               status = "okay";
+                       };
+               };
+       };
 };
index af907ea..3b40d11 100644 (file)
 / {
        model = "Atmel AT91SAM9G25-EK";
        compatible = "atmel,at91sam9x25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+
+       ahb {
+               apb {
+                       macb0: ethernet@f802c000 {
+                               phy-mode = "rmii";
+                               status = "okay";
+                       };
+
+                       macb1: ethernet@f8030000 {
+                               phy-mode = "rmii";
+                               status = "okay";
+                       };
+               };
+       };
 };
index 5ccb607..6ad19a0 100644 (file)
 / {
        model = "Atmel AT91SAM9X35-EK";
        compatible = "atmel,at91sam9x35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+
+       ahb {
+               apb {
+                       macb0: ethernet@f802c000 {
+                               phy-mode = "rmii";
+                               status = "okay";
+                       };
+               };
+       };
 };
index 9e292db..8b5832a 100644 (file)
                                status = "okay";
                        };
 
-                       macb0: ethernet@f802c000 {
-                               phy-mode = "rmii";
-                               status = "okay";
-                       };
-
                        i2c0: i2c@f8010000 {
                                status = "okay";
                        };