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 firmware: partition@50000 {
69 compatible = "denx,uimage";
71 /* reg property is set based on flash size in DTS files */
82 nvmem-cells = <&macaddr_factory_4>;
83 nvmem-cell-names = "mac-address";
85 mediatek,portmap = "wllll";
89 ralink,mtd-eeprom = <&factory 0x0>;
94 groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
100 compatible = "nvmem-cells";
101 #address-cells = <1>;
104 macaddr_factory_4: macaddr@4 {