ath79: enable UART in SoC DTSI files
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_wa_2port.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "ar9342_ubnt_wa.dtsi"
4
5 &mdio0 {
6 status = "okay";
7
8 phy-mask = <4>;
9
10 phy0: ethernet-phy@0 {
11 phy-mode = "rgmii";
12 reg = <0>;
13
14 qca,ar8327-initvals = <
15 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
16 0x58 0xffb7ffb7 /* LED_CTRL2 */
17 0x5c 0x03ffff00 /* LED_CTRL3 */
18 0x7c 0x0000007e /* PORT0_STATUS */
19 >;
20 };
21 };
22
23 &eth0 {
24 status = "okay";
25
26 /* default for ar934x, except for 1000M and 10M */
27 pll-data = <0x06000000 0x00000101 0x00001313>;
28
29 mtd-mac-address = <&art 0x0>;
30
31 phy-mode = "rgmii";
32 phy-handle = <&phy0>;
33
34 gmac-config {
35 device = <&gmac>;
36 rxd-delay = <2>;
37 rxdv-delay = <2>;
38 };
39 };