3 #include "mt7620a.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>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
85 reg = <0x50000 0x7b0000>;
99 mtd-mac-address = <&factory 0x4000>;
100 ralink,port-map = "wllll";
104 ralink,mtd-eeprom = <&factory 0>;
108 state_default: pinctrl0 {
110 ralink,group = "wled", "ephy";
111 ralink,function = "gpio";