Commit 7ff836f0 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by David S. Miller

MIPS: ath79: ar9331: add Ethernet nodes

Add ethernet nodes supported by ag71xx driver.
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46240936
...@@ -116,6 +116,32 @@ rst: reset-controller@1806001c { ...@@ -116,6 +116,32 @@ rst: reset-controller@1806001c {
}; };
}; };
eth0: ethernet@19000000 {
compatible = "qca,ar9330-eth";
reg = <0x19000000 0x200>;
interrupts = <4>;
resets = <&rst 9>, <&rst 22>;
reset-names = "mac", "mdio";
clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
clock-names = "eth", "mdio";
status = "disabled";
};
eth1: ethernet@1a000000 {
compatible = "qca,ar9330-eth";
reg = <0x1a000000 0x200>;
interrupts = <5>;
resets = <&rst 13>, <&rst 23>;
reset-names = "mac", "mdio";
clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
clock-names = "eth", "mdio";
status = "disabled";
};
usb: usb@1b000100 { usb: usb@1b000100 {
compatible = "chipidea,usb2"; compatible = "chipidea,usb2";
reg = <0x1b000000 0x200>; reg = <0x1b000000 0x200>;
......
...@@ -76,3 +76,11 @@ spiflash: w25q128@0 { ...@@ -76,3 +76,11 @@ spiflash: w25q128@0 {
reg = <0>; reg = <0>;
}; };
}; };
&eth0 {
status = "okay";
};
&eth1 {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment