diff options
author | Lucian Cristian <lucian.cristian@gmail.com> | 2018-06-26 10:30:46 +0300 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-06-28 18:39:57 +0200 |
commit | 7dd3d7e1d3845160c2ef51e6148b452e666bd6f5 (patch) | |
tree | 2f52500febdd143f0d79ebb31ad365e3cb6d4ff6 /target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts | |
parent | 56fddc2577baf194d1e9a7b37d454d12ff9fb469 (diff) | |
download | upstream-7dd3d7e1d3845160c2ef51e6148b452e666bd6f5.tar.gz upstream-7dd3d7e1d3845160c2ef51e6148b452e666bd6f5.tar.bz2 upstream-7dd3d7e1d3845160c2ef51e6148b452e666bd6f5.zip |
ath79: add support for Ubiquiti UniFi AC-Pro
rework the dts to a common unifi-ac dtsi
pro network is connected via phy0 and has usb ports
lite network is connected via phy4 without usb ports
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts')
-rw-r--r-- | target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts b/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts new file mode 100644 index 0000000000..31ca0ab965 --- /dev/null +++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "qca9563_ubnt_unifiac.dtsi" + +/ { + compatible = "ubnt,unifiac-pro", "qca,qca9563"; + model = "Ubiquiti UniFi-AC-PRO/MESH PRO"; +}; + +&usb_phy0 { + status = "okay"; +}; + +&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 */ + >; + }; +}; + +ð0 { + status = "okay"; + + mtd-mac-address = <&eeprom 0x0>; + phy-handle = <&phy0>; +}; |