aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh-pro.dts9
-rw-r--r--target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts25
-rw-r--r--target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi24
3 files changed, 35 insertions, 23 deletions
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh-pro.dts b/target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh-pro.dts
new file mode 100644
index 0000000000..9d80217d4e
--- /dev/null
+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh-pro.dts
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "qca9563_ubnt_unifiac-pro.dtsi"
+
+/ {
+ compatible = "ubnt,unifiac-mesh-pro", "qca,qca9563";
+ model = "Ubiquiti UniFi-AC-MESH PRO";
+};
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts b/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts
index 31ca0ab965..41449bbfc3 100644
--- a/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts
+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts
@@ -1,11 +1,11 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include "qca9563_ubnt_unifiac.dtsi"
+#include "qca9563_ubnt_unifiac-pro.dtsi"
/ {
compatible = "ubnt,unifiac-pro", "qca,qca9563";
- model = "Ubiquiti UniFi-AC-PRO/MESH PRO";
+ model = "Ubiquiti UniFi-AC-PRO";
};
&usb_phy0 {
@@ -15,24 +15,3 @@
&usb0 {
status = "okay";
};
-
-&mdio0 {
- status = "okay";
- phy-mask = <0>;
-
- phy0: ethernet-phy@0 {
- reg = <0>;
- phy-mode = "sgmii";
- qca,ar8327-initvals = <
- 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
- 0x7c 0x0000007e /* PORT0_STATUS */
- >;
- };
-};
-
-&eth0 {
- status = "okay";
-
- mtd-mac-address = <&eeprom 0x0>;
- phy-handle = <&phy0>;
-};
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi
new file mode 100644
index 0000000000..f218143550
--- /dev/null
+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "qca9563_ubnt_unifiac.dtsi"
+
+&mdio0 {
+ status = "okay";
+ phy-mask = <0>;
+
+ phy0: ethernet-phy@0 {
+ reg = <0>;
+ phy-mode = "sgmii";
+ qca,ar8327-initvals = <
+ 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
+ 0x7c 0x0000007e /* PORT0_STATUS */
+ >;
+ };
+};
+
+&eth0 {
+ status = "okay";
+
+ mtd-mac-address = <&eeprom 0x0>;
+ phy-handle = <&phy0>;
+};