From 4456dd4660b4fa4e9c04d73029c72bf7b0f2ba84 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 27 Jun 2018 14:33:40 +0200 Subject: 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 --- .../linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi (limited to 'target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi') 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>; +}; -- cgit v1.2.3