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";
21 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
28 linux,code = <KEY_WPS_BUTTON>;
33 compatible = "gpio-leds";
36 label = "asl26555:green:eth";
37 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
41 label = "asl26555:red:wan";
42 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
46 label = "asl26555:green:wan";
47 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
51 label = "asl26555:green:wlan";
52 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
55 led_power_green: power-green {
56 label = "asl26555:green:power";
57 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
61 label = "asl26555:red:power";
62 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
66 label = "asl26555:green:3g";
67 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
71 label = "asl26555:red:3g";
72 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
85 ralink,function = "gpio";
91 mtd-mac-address = <&devdata 0x4004>;
95 mediatek,portmap = <0x1e>;
99 ralink,mtd-eeprom = <&devdata 0x4000>;