1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "nexx,wt3020", "ralink,mt7620n-soc";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 label-mac-device = ðernet;
19 compatible = "gpio-keys";
23 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
32 function = LED_FUNCTION_POWER;
33 color = <LED_COLOR_ID_BLUE>;
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
43 compatible = "jedec,spi-nor";
45 spi-max-frequency = <10000000>;
48 compatible = "fixed-partitions";
60 reg = <0x30000 0x10000>;
66 reg = <0x40000 0x10000>;
70 compatible = "fixed-layout";
74 eeprom_factory_0: eeprom@0 {
78 macaddr_factory_4: macaddr@4 {
84 firmware: partition@50000 {
85 compatible = "denx,uimage";
87 /* reg property is set based on flash size in DTS files */
98 nvmem-cells = <&macaddr_factory_4>;
99 nvmem-cell-names = "mac-address";
101 mediatek,portmap = "wllll";
105 nvmem-cells = <&eeprom_factory_0>;
106 nvmem-cell-names = "eeprom";
111 groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf";