3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc";
10 led-status = &led_wps;
14 compatible = "gpio-leds";
17 label = "wr512-3gn:green:3g";
18 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22 label = "wr512-3gn:green:gateway";
23 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27 label = "wr512-3gn:green:ap";
28 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
32 label = "wr512-3gn:green:wps";
33 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
37 label = "wr512-3gn:green:station";
38 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
61 state_default: pinctrl0 {
63 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
64 ralink,function = "gpio";
70 mediatek,portmap = <0x2f>;
74 ralink,mtd-eeprom = <&factory 0>;