Skip to content

Commit

Permalink
MIPS: ath79: ar9331: add Ethernet nodes
Browse files Browse the repository at this point in the history
Add ethernet nodes supported by ag71xx driver.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Oleksij Rempel authored and David S. Miller committed May 26, 2019
1 parent 4624093 commit 7ff836f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions arch/mips/boot/dts/qca/ar9331.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,32 @@
};
};

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 {
compatible = "chipidea,usb2";
reg = <0x1b000000 0x200>;
Expand Down
8 changes: 8 additions & 0 deletions arch/mips/boot/dts/qca/ar9331_dpt_module.dts
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,11 @@
reg = <0>;
};
};

&eth0 {
status = "okay";
};

&eth1 {
status = "okay";
};

0 comments on commit 7ff836f

Please sign in to comment.