3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc";
11 led-failsafe = &led_wps;
12 led-running = &led_wps;
13 led-upgrade = &led_wps;
17 compatible = "gpio-leds";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 label = "green:gateway";
26 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
40 label = "green:station";
41 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys-polled";
51 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
65 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
71 mediatek,portmap = <0x2f>;
75 nvmem-cells = <&eeprom_factory_0>;
76 nvmem-cell-names = "eeprom";