summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorWills Wang <wills.wang@live.com>2016-05-30 22:54:51 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-31 10:17:54 +0200
commit04583c686e61e6883158549603d60741ebf249fe (patch)
treeca090c41e74ba31564686bba6baa95d3152941b8 /arch/mips
parent375239174c6bc6a9966db333fa79f578154828f5 (diff)
mips: ath79: ap121: Enable ethernet
This patch enable network function for ap121 board. Signed-off-by: Wills Wang <wills.wang@live.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/ap121.dts5
-rw-r--r--arch/mips/dts/ar933x.dtsi4
2 files changed, 7 insertions, 2 deletions
diff --git a/arch/mips/dts/ap121.dts b/arch/mips/dts/ap121.dts
index e31f601d039..a934a588ff5 100644
--- a/arch/mips/dts/ap121.dts
+++ b/arch/mips/dts/ap121.dts
@@ -41,3 +41,8 @@
reg = <0>;
};
};
+
+&gmac0 {
+ phy-mode = "rmii";
+ status = "okay";
+};
diff --git a/arch/mips/dts/ar933x.dtsi b/arch/mips/dts/ar933x.dtsi
index 00896b2be47..971f13e83de 100644
--- a/arch/mips/dts/ar933x.dtsi
+++ b/arch/mips/dts/ar933x.dtsi
@@ -75,7 +75,7 @@
};
gmac0: eth@0x19000000 {
- compatible = "qca,ag7240-mac";
+ compatible = "qca,ag933x-mac";
reg = <0x19000000 0x200>;
phy = <&phy0>;
phy-mode = "rmii";
@@ -92,7 +92,7 @@
};
gmac1: eth@0x1a000000 {
- compatible = "qca,ag7240-mac";
+ compatible = "qca,ag933x-mac";
reg = <0x1a000000 0x200>;
phy = <&phy0>;
phy-mode = "rgmii";