3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_green;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
17 compatible = "gpio-keys-polled";
22 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
29 linux,code = <KEY_WPS_BUTTON>;
34 compatible = "gpio-leds";
37 label = "asl26555:green:eth";
38 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
42 label = "asl26555:red:wan";
43 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
47 label = "asl26555:green:wan";
48 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
52 label = "asl26555:green:wlan";
53 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
56 led_power_green: power-green {
57 label = "asl26555:green:power";
58 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
62 label = "asl26555:red:power";
63 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
67 label = "asl26555:green:3g";
68 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
69 trigger-sources = <&otg_port1>;
70 linux,default-trigger = "usbport";
74 label = "asl26555:red:3g";
75 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
85 state_default: pinctrl0 {
87 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
88 ralink,function = "gpio";
94 mtd-mac-address = <&devdata 0x4004>;
98 mediatek,portmap = <0x1e>;
102 ralink,mtd-eeprom = <&devdata 0x4000>;