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;
12 led-boot = &led_status_red;
13 led-failsafe = &led_status_green;
14 led-running = &led_status_green;
15 led-upgrade = &led_status_red;
19 compatible = "gpio-keys";
23 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
25 debounce-interval = <60>;
30 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
36 compatible = "gpio-leds";
38 led_status_red: status_red {
40 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 led_status_green: status_green {
44 label = "green:status";
45 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 label = "red:rssilow";
50 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
54 label = "green:rssilow";
55 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
59 label = "green:rssimed";
60 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
64 label = "green:rssihigh";
65 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <50000000>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
96 compatible = "nvmem-cells";
98 reg = <0x40000 0x10000>;
103 eeprom_factory_0: eeprom@0 {
107 macaddr_factory_e000: macaddr@e000 {
113 compatible = "denx,uimage";
115 reg = <0x50000 0xfb0000>;
127 compatible = "mediatek,mt76";
128 reg = <0x0000 0 0 0 0>;
129 nvmem-cells = <&eeprom_factory_0>;
130 nvmem-cell-names = "eeprom";
131 /* The correct MAC addresses are set in 10_fix_wifi_mac. */
136 nvmem-cells = <&macaddr_factory_e000>;
137 nvmem-cell-names = "mac-address";
150 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
155 groups = "uart3", "jtag", "wdt";