1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = &gmac0;
11 led-boot = &led_power_orange;
12 led-failsafe = &led_power_white;
13 led-running = &led_power_white;
14 led-upgrade = &led_net_orange;
18 compatible = "gpio-keys";
22 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
34 compatible = "gpio-leds";
36 led_power_orange: power_orange {
37 label = "orange:power";
38 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
41 led_power_white: power_white {
42 label = "white:power";
43 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
46 led_net_orange: net_orange {
48 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
62 compatible = "fixed-partitions";
74 reg = <0x80000 0x80000>;
78 factory: partition@100000 {
80 reg = <0x100000 0x40000>;
84 compatible = "fixed-layout";
88 eeprom_factory_0: eeprom@0 {
92 eeprom_factory_8000: eeprom@8000 {
93 reg = <0x8000 0x4da8>;
96 macaddr_factory_e000: macaddr@e000 {
100 macaddr_factory_e006: macaddr@e006 {
108 reg = <0x140000 0x40000>;
114 compatible = "openwrt,uimage", "denx,uimage";
115 openwrt,padding = <96>;
116 reg = <0x180000 0x2800000>;
121 reg = <0x2980000 0x2000000>;
127 reg = <0x4980000 0x2800000>;
132 reg = <0x7180000 0x600000>;
138 reg = <0x7780000 0x880000>;
150 compatible = "mediatek,mt76";
151 reg = <0x0000 0 0 0 0>;
152 nvmem-cells = <&eeprom_factory_0>;
153 nvmem-cell-names = "eeprom";
154 ieee80211-freq-limit = <2400000 2500000>;
164 compatible = "mediatek,mt76";
165 reg = <0x0000 0 0 0 0>;
166 nvmem-cells = <&eeprom_factory_8000>;
167 nvmem-cell-names = "eeprom";
168 ieee80211-freq-limit = <5000000 6000000>;
177 nvmem-cells = <&macaddr_factory_e000>;
178 nvmem-cell-names = "mac-address";
184 phy-handle = <ðphy4>;
186 nvmem-cells = <&macaddr_factory_e006>;
187 nvmem-cell-names = "mac-address";
191 ethphy4: ethernet-phy@4 {
222 groups = "i2c", "uart3", "jtag", "wdt";