kernel: move mv88e6xxx fix to generic backports
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7240.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-ohci-dll";
10 resets = <&rst 4>, <&rst 3>;
11
12 #phy-cells = <0>;
13
14 status = "disabled";
15 };
16 };
17
18 &ahb {
19 usb: usb@1b000000 {
20 compatible = "generic-ohci";
21 reg = <0x1b000000 0x1000>;
22
23 interrupts = <3>;
24
25 resets = <&rst 5>;
26 reset-names = "usb-host";
27
28 phy-names = "usb-phy";
29 phys = <&usb_phy>;
30
31 status = "disabled";
32
33 #address-cells = <1>;
34 #size-cells = <0>;
35
36 hub_port: port@1 {
37 reg = <1>;
38 #trigger-source-cells = <0>;
39 };
40 };
41 };
42
43 &mdio0 {
44 status = "okay";
45
46 compatible = "qca,ar7240-mdio";
47 builtin-switch;
48
49 builtin_switch: switch0@1f {
50 compatible = "qca,ar7240sw";
51
52 reg = <0x1f>;
53 resets = <&rst 8>;
54 reset-names = "switch";
55 qca,mib-poll-interval = <500>;
56
57 mdio-bus {
58 #address-cells = <1>;
59 #size-cells = <0>;
60
61 swphy4: ethernet-phy@4 {
62 reg = <4>;
63 phy-mode = "mii";
64 };
65 };
66 };
67 };
68
69 &eth0 {
70 status = "okay";
71
72 compatible = "qca,ar7240-eth", "syscon";
73
74 pll-data = <0x00110000 0x00001099 0x00991099>;
75
76 resets = <&rst 9>;
77 reset-names = "mac";
78 phy-handle = <&swphy4>;
79 };
80
81 &eth1 {
82 compatible = "qca,ar7240-eth", "syscon";
83
84 pll-data = <0x00110000 0x00001099 0x00991099>;
85
86 resets = <&rst 13>;
87 reset-names = "mac";
88
89 phy-mode = "gmii";
90
91 fixed-link {
92 speed = <1000>;
93 full-duplex;
94 };
95 };