3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ravpower,wd03", "ralink,mt7620n-soc";
10 model = "Ravpower WD03";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "wd03:green:wifi";
21 gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
25 label = "wd03:blue:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
31 compatible = "gpio-keys";
35 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
36 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
85 compatible = "denx,uimage";
87 reg = <0x50000 0x7b0000>;
102 mtd-mac-address = <&factory 0x4000>;
103 ralink,port-map = "wllll";
107 ralink,mtd-eeprom = <&factory 0>;
111 state_default: pinctrl0 {
113 ralink,group = "wled", "ephy";
114 ralink,function = "gpio";