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>;
26 label = "wd03:blue:wifi";
27 gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
32 compatible = "gpio-keys-polled";
37 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
38 linux,code = <KEY_RESTART>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
87 compatible = "denx,uimage";
89 reg = <0x50000 0x7b0000>;
104 mtd-mac-address = <&factory 0x4000>;
105 ralink,port-map = "wllll";
109 ralink,mtd-eeprom = <&factory 0>;
113 state_default: pinctrl0 {
115 ralink,group = "wled", "ephy";
116 ralink,function = "gpio";