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 {
79 compatible = "nvmem-cells";
81 reg = <0x100000 0x40000>;
86 eeprom_factory_0: eeprom@0 {
90 eeprom_factory_8000: eeprom@8000 {
91 reg = <0x8000 0x4da8>;
94 macaddr_factory_e000: macaddr@e000 {
98 macaddr_factory_e006: macaddr@e006 {
105 reg = <0x140000 0x40000>;
111 compatible = "openwrt,uimage", "denx,uimage";
112 openwrt,padding = <96>;
113 reg = <0x180000 0x2800000>;
118 reg = <0x2980000 0x2000000>;
124 reg = <0x4980000 0x2800000>;
129 reg = <0x7180000 0x600000>;
135 reg = <0x7780000 0x880000>;
147 compatible = "mediatek,mt76";
148 reg = <0x0000 0 0 0 0>;
149 nvmem-cells = <&eeprom_factory_0>;
150 nvmem-cell-names = "eeprom";
151 ieee80211-freq-limit = <2400000 2500000>;
161 compatible = "mediatek,mt76";
162 reg = <0x0000 0 0 0 0>;
163 nvmem-cells = <&eeprom_factory_8000>;
164 nvmem-cell-names = "eeprom";
165 ieee80211-freq-limit = <5000000 6000000>;
174 nvmem-cells = <&macaddr_factory_e000>;
175 nvmem-cell-names = "mac-address";
181 phy-handle = <ðphy4>;
183 nvmem-cells = <&macaddr_factory_e006>;
184 nvmem-cell-names = "mac-address";
188 ethphy4: ethernet-phy@4 {
219 groups = "i2c", "uart3", "jtag", "wdt";