ath79: clean up led config script files for all devices
[openwrt/staging/chunkeey.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 };
34
35 &mdio0 {
36 builtin-switch;
37 };
38
39 &eth0 {
40 compatible = "qca,ar7240-eth", "syscon";
41
42 pll-data = <0x00110000 0x00001099 0x00991099>;
43
44 resets = <&rst 8>, <&rst 9>;
45 reset-names = "phy", "mac";
46 };
47
48 &mdio1 {
49 builtin-switch;
50 };
51
52 &eth1 {
53 compatible = "qca,ar7240-eth", "syscon";
54
55 pll-data = <0x00110000 0x00001099 0x00991099>;
56
57 resets = <&rst 12>, <&rst 13>;
58 reset-names = "phy", "mac";
59
60 phy-mode = "gmii";
61
62 fixed-link {
63 speed = <1000>;
64 full-duplex;
65 };
66 };