3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
10 led-status = &led_power_green;
14 compatible = "gpio-keys-polled";
19 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
20 linux,code = <KEY_RESTART>;
25 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
26 linux,code = <KEY_WPS_BUTTON>;
31 compatible = "gpio-leds";
34 label = "asl26555:green:eth";
35 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 label = "asl26555:red:wan";
40 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
44 label = "asl26555:green:wan";
45 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
49 label = "asl26555:green:wlan";
50 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
53 led_power_green: power-green {
54 label = "asl26555:green:power";
55 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
59 label = "asl26555:red:power";
60 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
64 label = "asl26555:green:3g";
65 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
69 label = "asl26555:red:3g";
70 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
80 state_default: pinctrl0 {
82 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
83 ralink,function = "gpio";
89 mtd-mac-address = <&devdata 0x4004>;
93 mediatek,portmap = <0x1e>;
97 ralink,mtd-eeprom = <&devdata 0x4000>;