ath79: add new OF only target for QCA MIPS silicon
[openwrt/staging/blogic.git] / target / linux / ath79 / dts / ar7241.dtsi
1 // SPDX-License-Identifier: GPL-2.0
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 };
41
42 &mdio0 {
43 regmap = <&eth1>;
44 builtin-switch;
45 resets = <&rst 22>;
46 reset-names = "mdio";
47 };
48
49 &eth0 {
50 compatible = "qca,ar7241-eth", "syscon";
51
52 pll-data = <0x00110000 0x00001099 0x00991099>;
53
54 resets = <&rst 8>, <&rst 9>;
55 reset-names = "mac", "phy";
56 };
57
58 &mdio1 {
59 resets = <&rst 23>;
60 reset-names = "mdio";
61 builtin-switch;
62 };
63
64 &eth1 {
65 compatible = "qca,ar7241-eth", "syscon";
66
67 pll-data = <0x00110000 0x00001099 0x00991099>;
68
69 resets = <&rst 12>, <&rst 13>;
70 reset-names = "mac", "phy";
71
72 phy-mode = "gmii";
73
74 fixed-link {
75 speed = <1000>;
76 full-duplex;
77 };
78 };