ath79: add pinmux to ar9330
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9563_ubnt_unifiac-pro.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9563_ubnt_unifiac.dtsi"
5
6 / {
7         compatible = "ubnt,unifiac-pro", "qca,qca9563";
8         model = "Ubiquiti UniFi-AC-PRO/MESH PRO";
9 };
10
11 &usb_phy0 {
12         status = "okay";
13 };
14
15 &usb0 {
16         status = "okay";
17 };
18
19 &mdio0 {
20         status = "okay";
21         phy-mask = <0>;
22
23         phy0: ethernet-phy@0 {
24                 reg = <0>;
25                 phy-mode = "sgmii";
26                 qca,ar8327-initvals = <
27                         0x04 0x00080080 /* PORT0 PAD MODE CTRL */
28                         0x7c 0x0000007e /* PORT0_STATUS */
29                 >;
30         };
31 };
32
33 &eth0 {
34         status = "okay";
35
36         mtd-mac-address = <&eeprom 0x0>;
37         phy-handle = <&phy0>;
38 };