3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc";
10 compatible = "gpio-leds";
13 label = "wr512-3gn:green:3g";
14 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
18 label = "wr512-3gn:green:gateway";
19 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
23 label = "wr512-3gn:green:ap";
24 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
28 label = "wr512-3gn:green:wps";
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
33 label = "wr512-3gn:green:station";
34 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
46 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
59 state_default: pinctrl0 {
61 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
62 ralink,function = "gpio";
68 mediatek,portmap = <0x2f>;
72 ralink,mtd-eeprom = <&factory 0>;