openwrtv3/target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts
Lucian Cristian 7dd3d7e1d3 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>
2018-06-28 18:39:57 +02:00

38 lines
578 B
Text

// 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 */
>;
};
};
&eth0 {
status = "okay";
mtd-mac-address = <&eeprom 0x0>;
phy-handle = <&phy0>;
};