]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
MIPS: ath79: ar9331: add Ethernet nodes
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 24 May 2019 11:12:23 +0000 (13:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 20:22:50 +0000 (13:22 -0700)
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>
arch/mips/boot/dts/qca/ar9331.dtsi
arch/mips/boot/dts/qca/ar9331_dpt_module.dts

index 2bae201aa365106ac262865b0ba407fe36905599..63a9f33aa43e8de626e59cbf57fddf77528ef4f8 100644 (file)
                        };
                };
 
+               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>;
index e7af2cf5f4c1991856e319c4ff4e31fbe1cceeff..77bab823eb3b0836113e663a0dcb733b98183055 100644 (file)
                reg = <0>;
        };
 };
+
+&eth0 {
+       status = "okay";
+};
+
+&eth1 {
+       status = "okay";
+};