1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ðernet;
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
18 compatible = "gpio-keys";
22 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
34 compatible = "gpio-leds";
36 led_power_green: power_green {
37 label = "green:power";
38 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
43 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
48 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
52 label = "orange:power";
53 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <50000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
84 compatible = "nvmem-cells";
86 reg = <0x40000 0x10000>;
91 eeprom_factory_0: eeprom@0 {
95 eeprom_factory_8000: eeprom@8000 {
99 macaddr_factory_28: macaddr@28 {
104 factory5g: partition@50000 {
106 reg = <0x50000 0x10000>;
111 label = "Wolf_Config";
112 reg = <0x60000 0x10000>;
118 reg = <0x70000 0x80000>;
124 reg = <0xf0000 0x80000>;
129 compatible = "denx,uimage";
131 reg = <0x170000 0x690000>;
139 groups = "i2c", "uartf", "ephy";
145 nvmem-cells = <&macaddr_factory_28>;
146 nvmem-cell-names = "mac-address";
148 mediatek,portmap = "llllw";
156 pinctrl-names = "default", "pa_gpio";
157 pinctrl-0 = <&pa_pins>;
158 pinctrl-1 = <&pa_gpio_pins>;
159 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_28>;
160 nvmem-cell-names = "eeprom", "mac-address";
169 reg = <0x0000 0 0 0 0>;
170 ieee80211-freq-limit = <5000000 6000000>;
171 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28>;
172 nvmem-cell-names = "eeprom", "mac-address";
173 mac-address-increment = <2>;