diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2018-06-27 14:33:40 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-06-28 20:31:48 +0200 |
commit | 4456dd4660b4fa4e9c04d73029c72bf7b0f2ba84 (patch) | |
tree | 2999df7027b5d1f3b921541e2259001d9ff52ff0 /target/linux/ath79/dts | |
parent | 40218a2632697c86ab077497fc99b0f7a3719926 (diff) | |
download | upstream-4456dd4660b4fa4e9c04d73029c72bf7b0f2ba84.tar.gz upstream-4456dd4660b4fa4e9c04d73029c72bf7b0f2ba84.tar.bz2 upstream-4456dd4660b4fa4e9c04d73029c72bf7b0f2ba84.zip |
ath79: add support for Unifi AC Mesh
The Unifi AC Mesh is equivalent to the Unifi AC Lite. However,
for setting certain parameters with the flashed device it is
helpful that the devices know their variant (e.g. automatically
setting antenna gain for the different antennas in Lite and Mesh).
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r-- | target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dts | 21 | ||||
-rw-r--r-- | target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi | 20 | ||||
-rw-r--r-- | target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh.dts | 9 |
3 files changed, 31 insertions, 19 deletions
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dts b/target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dts index 6b872561ed..a3ae7089d5 100644 --- a/target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dts +++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dts @@ -1,26 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "qca9563_ubnt_unifiac.dtsi" +#include "qca9563_ubnt_unifiac-lite.dtsi" / { compatible = "ubnt,unifiac-lite", "qca,qca9563"; - model = "Ubiquiti UniFi-AC-LITE/MESH/LR"; -}; - -&mdio0 { - status = "okay"; - - phy-mask = <4>; - phy4: ethernet-phy@4 { - phy-mode = "sgmii"; - reg = <4>; - }; -}; - -ð0 { - status = "okay"; - - mtd-mac-address = <&eeprom 0x0>; - phy-handle = <&phy4>; + model = "Ubiquiti UniFi-AC-LITE/LR"; }; diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi new file mode 100644 index 0000000000..6fe43453ec --- /dev/null +++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "qca9563_ubnt_unifiac.dtsi" + +&mdio0 { + status = "okay"; + + phy-mask = <4>; + phy4: ethernet-phy@4 { + phy-mode = "sgmii"; + reg = <4>; + }; +}; + +ð0 { + status = "okay"; + + mtd-mac-address = <&eeprom 0x0>; + phy-handle = <&phy4>; +}; diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh.dts b/target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh.dts new file mode 100644 index 0000000000..6eed56bb6c --- /dev/null +++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh.dts @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "qca9563_ubnt_unifiac-lite.dtsi" + +/ { + compatible = "ubnt,unifiac-mesh", "qca,qca9563"; + model = "Ubiquiti UniFi-AC-MESH"; +}; |