3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ravpower,wd03", "ralink,mt7620a-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";
39 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
40 linux,code = <KEY_RESTART>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
83 reg = <0x50000 0x7b0000>;
97 mtd-mac-address = <&factory 0x4000>;
98 ralink,port-map = "wllll";
102 ralink,mtd-eeprom = <&factory 0>;
106 state_default: pinctrl0 {
108 ralink,group = "wled", "ephy";
109 ralink,function = "gpio";