5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "accton,wr6202", "ralink,rt3052-soc";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "wr6202:blue:wps";
21 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
25 label = "wr6202:blue:3g";
26 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "cfi-flash";
49 reg = <0x1f000000 0x800000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
78 reg = <0x50000 0x7b0000>;
84 compatible = "gpio-export";
88 gpio-export,name = "usb";
89 gpio-export,output = <0>;
90 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
96 state_default: pinctrl0 {
98 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
99 ralink,function = "gpio";
105 mtd-mac-address = <&factory 0x28>;
109 mediatek,portmap = <0x3e>;
113 ralink,mtd-eeprom = <&factory 0>;