1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "nexx,wt3020", "ralink,mt7620n-soc";
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 label-mac-device = ðernet;
18 compatible = "gpio-keys";
22 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 compatible = "gpio-leds";
32 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
41 compatible = "jedec,spi-nor";
43 spi-max-frequency = <10000000>;
46 compatible = "fixed-partitions";
58 reg = <0x30000 0x10000>;
62 factory: partition@40000 {
64 reg = <0x40000 0x10000>;
68 compatible = "fixed-layout";
72 eeprom_factory_0: eeprom@0 {
76 macaddr_factory_4: macaddr@4 {
82 firmware: partition@50000 {
83 compatible = "denx,uimage";
85 /* reg property is set based on flash size in DTS files */
96 nvmem-cells = <&macaddr_factory_4>;
97 nvmem-cell-names = "mac-address";
99 mediatek,portmap = "wllll";
103 nvmem-cells = <&eeprom_factory_0>;
104 nvmem-cell-names = "eeprom";
109 groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf";