]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: at91/net: add macb ethernet controller in 9g45/9g20 DT
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 5 Dec 2011 17:03:05 +0000 (18:03 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 16 Dec 2011 12:11:09 +0000 (13:11 +0100)
Add the Cadence macb ethernet controller in at91sam9g45 and at91sam9g20
.dtsi and enable it in at91sam9m10g45ek and usb_a9g20 board device tree file.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
arch/arm/boot/dts/at91sam9g20.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/boot/dts/at91sam9m10g45ek.dts
arch/arm/boot/dts/usb_a9g20.dts

index aeef04269cf85edfb1259de7c64453b1bfb2e843..07603b8c95037b10d85739e2dfcafc77d62be7c7 100644 (file)
                                atmel,use-dma-tx;
                                status = "disabled";
                        };
+
+                       macb0: ethernet@fffc4000 {
+                               compatible = "cdns,at32ap7000-macb", "cdns,macb";
+                               reg = <0xfffc4000 0x100>;
+                               interrupts = <21>;
+                               status = "disabled";
+                       };
                };
        };
 };
index db6a45202f26b44c6911c359902ad5e0504cbc25..fffa005300a4274fa29e2c74e610333ae729ac11 100644 (file)
                                atmel,use-dma-tx;
                                status = "disabled";
                        };
+
+                       macb0: ethernet@fffbc000 {
+                               compatible = "cdns,at32ap7000-macb", "cdns,macb";
+                               reg = <0xfffbc000 0x100>;
+                               interrupts = <25>;
+                               status = "disabled";
+                       };
                };
        };
 };
index 85b34f59cd82eaf0fe55d0bc5d47b19c0144783e..a387e7704ce1e42d2647a19a85311668507a861d 100644 (file)
                        usart1: serial@fff90000 {
                                status = "okay";
                        };
+
+                       macb0: ethernet@fffbc000 {
+                               phy-mode = "rmii";
+                               status = "okay";
+                       };
                };
        };
 };
index d66e2c00ac3507b3c5afdfd791b0ece0eab97bbf..f04b535477f54b5e63c688ab3294d9c826192eae 100644 (file)
                        dbgu: serial@fffff200 {
                                status = "okay";
                        };
+
+                       macb0: ethernet@fffc4000 {
+                               phy-mode = "rmii";
+                               status = "okay";
+                       };
                };
        };
 };