[OpenWrt-Devel] [PATCH 2/5] ath79: ubnt-bullet-m-xw: Move common DTS bits into XW include file
Petr Štetiar
ynezz at true.cz
Mon Dec 10 17:46:25 EST 2018
Most of the M/XW platform settings can be shared so move those common
DTS bits into include file.
Tested-by: Joe Ayers <ae6xe at arrl.net>
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts | 11 +++--------
target/linux/ath79/dts/ar9342_ubnt_xw.dtsi | 8 ++++++++
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
index ad98075..7e4862e 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
@@ -15,20 +15,19 @@
status = "okay";
phy-mask = <4>;
+
phy4: ethernet-phy at 4 {
- phy-mode = "rgmii";
reg = <4>;
+ phy-mode = "rgmii";
};
};
ð0 {
status = "okay";
- pll-data = <0x06000000 0x00000101 0x00001313>;
- mtd-mac-address = <&eeprom 0x0>;
-
phy-mode = "rgmii";
phy-handle = <&phy4>;
+ mtd-mac-address = <&eeprom 0x0>;
gmac-config {
device = <&gmac>;
@@ -36,7 +35,3 @@
rxdv-delay = <3>;
};
};
-
-ð1 {
- status = "disabled";
-};
diff --git a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
index 742df11..812810f 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
+++ b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
@@ -117,3 +117,11 @@
mtd-cal-data = <&eeprom 0x1000>;
mtd-mac-address = <&eeprom 0x1002>;
};
+
+&mdio1 {
+ status = "disabled";
+};
+
+ð1 {
+ status = "disabled";
+};
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list