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_green;
13 led-running = &led_power_green;
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 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RFKILL>;
40 compatible = "gpio-leds";
42 led_power_orange: power_orange {
43 label = "orange:power";
44 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
47 led_power_green: power_green {
48 label = "green:power";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
52 led_net_orange: net_orange {
54 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <50000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x20000>;
96 compatible = "sge,uimage";
98 reg = <0x60000 0xfa0000>;
110 compatible = "mediatek,mt76";
111 reg = <0x0000 0 0 0 0>;
112 mediatek,mtd-eeprom = <&factory 0x0000>;
113 ieee80211-freq-limit = <2400000 2500000>;
123 compatible = "mediatek,mt76";
124 reg = <0x0000 0 0 0 0>;
125 mediatek,mtd-eeprom = <&factory 0x8000>;
126 ieee80211-freq-limit = <5000000 6000000>;
135 mtd-mac-address = <&factory 0xe000>;
163 mtd-mac-address = <&factory 0xe006>;
170 groups = "i2c", "uart3", "jtag", "wdt";