3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
10 compatible = "gpio-keys-polled";
17 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
18 linux,code = <KEY_RESTART>;
23 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
24 linux,code = <KEY_WPS_BUTTON>;
29 compatible = "gpio-leds";
32 label = "asl26555:green:eth";
33 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
37 label = "asl26555:red:wan";
38 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
42 label = "asl26555:green:wan";
43 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
47 label = "asl26555:green:wlan";
48 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
52 label = "asl26555:green:power";
53 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
57 label = "asl26555:red:power";
58 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
62 label = "asl26555:green:3g";
63 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
67 label = "asl26555:red:3g";
68 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
78 state_default: pinctrl0 {
80 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
81 ralink,function = "gpio";
87 mtd-mac-address = <&devdata 0x4004>;
91 mediatek,portmap = <0x1e>;
95 ralink,mtd-eeprom = <&devdata 0x4000>;