ath79: qca955x: remove redundant phy-mode
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9331.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 aliases {
10 serial0 = &uart;
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
15 label-mac-device = &eth0;
16 };
17
18 keys {
19 compatible = "gpio-keys";
20
21 reset {
22 label = "reset";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
26 };
27 };
28
29 leds {
30 compatible = "gpio-leds";
31
32 led_system: system {
33 label = "blue:system";
34 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
35 };
36 };
37
38 reg_usb_vbus: reg_usb_vbus {
39 compatible = "regulator-fixed";
40 regulator-name = "usb_vbus";
41 regulator-min-microvolt = <5000000>;
42 regulator-max-microvolt = <5000000>;
43 enable-active-high;
44 };
45 };
46
47 &spi {
48 status = "okay";
49
50 flash@0 {
51 compatible = "jedec,spi-nor";
52 reg = <0>;
53 spi-max-frequency = <25000000>;
54
55 partitions {
56 compatible = "fixed-partitions";
57 #address-cells = <1>;
58 #size-cells = <1>;
59
60 uboot: partition@0 {
61 reg = <0x0 0x20000>;
62 label = "u-boot";
63 read-only;
64 };
65
66 partition@20000 {
67 compatible = "tplink,firmware";
68 reg = <0x20000 0x3d0000>;
69 label = "firmware";
70 };
71
72 art: partition@3f0000 {
73 reg = <0x3f0000 0x10000>;
74 label = "art";
75 read-only;
76 };
77 };
78 };
79 };
80
81 &eth0 {
82 status = "okay";
83
84 mtd-mac-address = <&uboot 0x1fc00>;
85
86 gmac-config {
87 device = <&gmac>;
88
89 switch-phy-addr-swap = <0>;
90 switch-phy-swap = <0>;
91 };
92 };
93
94 &eth1 {
95 status = "okay";
96
97 compatible = "syscon", "simple-mfd";
98 };
99
100 &uart {
101 status = "okay";
102 };
103
104 &usb {
105 dr_mode = "host";
106 vbus-supply = <&reg_usb_vbus>;
107 status = "okay";
108 };
109
110 &usb_phy {
111 status = "okay";
112 };
113
114 &wmac {
115 status = "okay";
116
117 mtd-cal-data = <&art 0x1000>;
118 mtd-mac-address = <&uboot 0x1fc00>;
119 };