]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: berlin: add the Ethernet node
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Tue, 30 Sep 2014 14:28:15 +0000 (16:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2014 20:36:13 +0000 (16:36 -0400)
This patch adds the Ethernet node, enabling the network unit on Berlin
BG2Q SoCs.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/berlin2q.dtsi

index 400c40fceccc7118722ff021e7711a6e9f9564dd..891d56b03922ad8237c306c80b56c5a936f8506d 100644 (file)
                        #interrupt-cells = <3>;
                };
 
+               eth0: ethernet@b90000 {
+                       compatible = "marvell,pxa168-eth";
+                       reg = <0xb90000 0x10000>;
+                       clocks = <&chip CLKID_GETH0>;
+                       interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+                       /* set by bootloader */
+                       local-mac-address = [00 00 00 00 00 00];
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       phy-handle = <&ethphy0>;
+                       status = "disabled";
+
+                       ethphy0: ethernet-phy@0 {
+                               reg = <0>;
+                       };
+               };
+
                cpu-ctrl@dd0000 {
                        compatible = "marvell,berlin-cpu-ctrl";
                        reg = <0xdd0000 0x10000>;