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";
38 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
50 compatible = "cfi-flash";
51 reg = <0x1f000000 0x800000>;
65 reg = <0x30000 0x10000>;
69 factory: partition@40000 {
71 reg = <0x40000 0x10000>;
77 reg = <0x50000 0x7b0000>;
82 compatible = "gpio-export";
86 gpio-export,name = "usb";
87 gpio-export,output = <0>;
88 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
94 state_default: pinctrl0 {
96 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
97 ralink,function = "gpio";
103 mtd-mac-address = <&factory 0x28>;
107 mediatek,portmap = <0x3e>;
111 ralink,mtd-eeprom = <&factory 0>;