aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9341.dtsi
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-07-17 17:09:14 +0800
committerJohn Crispin <john@phrozen.org>2018-07-30 10:43:33 +0200
commitf6c99241baec562c092704f2c80650da65d3e683 (patch)
tree34e4471358c2495bc0d65b68e9a175c9c43f6f70 /target/linux/ath79/dts/ar9341.dtsi
parent7ae9e6371936c01b28ea413cca3e69e5a6979386 (diff)
downloadupstream-f6c99241baec562c092704f2c80650da65d3e683.tar.gz
upstream-f6c99241baec562c092704f2c80650da65d3e683.tar.bz2
upstream-f6c99241baec562c092704f2c80650da65d3e683.zip
ath79: ar934x: Update dts for current ag71xx driver
Enable mdio1 by default because mdio1 is needed when eth1 is enabled. PS: If a ar9341 device has only one port and you only want to use gmac0, change compatible of gmac1 to "syscon", "simple-mfd" in dts. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/ar9341.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9341.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9341.dtsi b/target/linux/ath79/dts/ar9341.dtsi
index 751db2a1e8..a7c5ac6262 100644
--- a/target/linux/ath79/dts/ar9341.dtsi
+++ b/target/linux/ath79/dts/ar9341.dtsi
@@ -16,3 +16,11 @@
interrupt-parent = <&cpuintc>;
interrupts = <2>;
};
+
+&eth0 {
+ phy-mode = "mii";
+};
+
+&eth1 {
+ status = "okay";
+};