From e420b7b5c517d03e1282b5889065e22143f9c4ef Mon Sep 17 00:00:00 2001 From: Christoph Krapp Date: Mon, 2 Jul 2018 14:39:54 +0200 Subject: ath79: add support for UniFi AC-Mesh Pro The Unifi AC-Mesh Pro has identical hardware to the Unifi AC-Pro except USB support. Furthermore for setting parameters like antenna gain it is helpful to know the exact device variant. Signed-off-by: Christoph Krapp --- .../linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi (limited to 'target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi') 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 */ + >; + }; +}; + +ð0 { + status = "okay"; + + mtd-mac-address = <&eeprom 0x0>; + phy-handle = <&phy0>; +}; -- cgit v1.2.3