ath79: fix various dts warnings
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7242.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar724x.dtsi"
4
5 / {
6 usb_phy: usb-phy {
7 compatible = "qca,ar7200-usb-phy";
8
9 reset-names = "usb-phy", "usb-suspend-override";
10 resets = <&rst 4>, <&rst 3>;
11
12 #phy-cells = <0>;
13
14 status = "disabled";
15 };
16 };
17
18 &gpio {
19 ngpios = <20>;
20 };
21
22 &ahb {
23 usb: usb@1b000000 {
24 compatible = "generic-ehci";
25 reg = <0x1b000000 0x1000>;
26
27 interrupts = <3>;
28
29 resets = <&rst 5>;
30 reset-names = "usb-host";
31
32 has-transaction-translator;
33 caps-offset = <0x100>;
34
35 phy-names = "usb-phy";
36 phys = <&usb_phy>;
37
38 status = "disabled";
39
40 #address-cells = <1>;
41 #size-cells = <0>;
42 };
43 };
44
45 &mdio0 {
46 resets = <&rst 22>;
47 reset-names = "mdio";
48 };
49
50 &eth0 {
51 compatible = "qca,ar7242-eth", "syscon";
52
53 pll-data = <0x16000000 0x00000101 0x00001616>;
54 pll-reg = <0x4 0x2c 17>;
55 pll-handle = <&pll>;
56
57 resets = <&rst 9>;
58 reset-names = "mac";
59 };
60
61 &mdio1 {
62 resets = <&rst 23>;
63 reset-names = "mdio";
64 builtin-switch;
65
66 builtin_switch: switch0@1f {
67 compatible = "qca,ar7240sw";
68 #address-cells = <1>;
69 #size-cells = <0>;
70 reg = <0x1f>;
71 resets = <&rst 8>;
72 reset-names = "switch";
73 qca,mib-poll-interval = <500>;
74 };
75 };
76
77 &eth1 {
78 compatible = "qca,ar7242-eth", "syscon";
79
80 resets = <&rst 13>;
81 reset-names = "mac";
82
83 phy-mode = "gmii";
84
85 fixed-link {
86 speed = <1000>;
87 full-duplex;
88 };
89 };