3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ravpower,rp-wd03", "ralink,mt7620n-soc";
10 model = "RAVPower RP-WD03";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "rp-wd03:green:wifi";
21 gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
25 label = "rp-wd03:blue:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
31 compatible = "gpio-keys";
35 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 compatible = "mtd-concat";
43 devices = <&firmware1 &firmware2 &firmware3>;
46 compatible = "fixed-partitions";
51 compatible = "openwrt,okli";
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <50000000>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
105 reg = <0x50000 0x10000>;
109 firmware2: partition@60000 {
111 reg = <0x60000 0x170000>;
115 label = "u-boot-env";
116 reg = <0x1d0000 0x10000>;
119 firmware3: partition@1e0000 {
121 reg = <0x1e0000 0x20000>;
124 firmware1: partition@200000 {
126 reg = <0x200000 0x600000>;
141 mtd-mac-address = <&factory 0x4000>;
145 ralink,mtd-eeprom = <&factory 0x0>;
150 groups = "wled", "ephy";