3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
18 compatible = "gpio-keys-polled";
23 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
24 linux,code = <KEY_RESTART>;
29 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
30 linux,code = <KEY_WPS_BUTTON>;
35 compatible = "gpio-leds";
39 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
43 function = LED_FUNCTION_WAN;
44 color = <LED_COLOR_ID_RED>;
45 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
49 function = LED_FUNCTION_WAN;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
55 function = LED_FUNCTION_WLAN;
56 color = <LED_COLOR_ID_GREEN>;
57 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
60 led_power_green: power-green {
61 function = LED_FUNCTION_POWER;
62 color = <LED_COLOR_ID_GREEN>;
63 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
67 function = LED_FUNCTION_POWER;
68 color = <LED_COLOR_ID_RED>;
69 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
74 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
75 trigger-sources = <&otg_port1>;
76 linux,default-trigger = "usbport";
81 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
88 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
94 mediatek,portmap = <0x1e>;
98 nvmem-cells = <&eeprom_devdata_4000>;
99 nvmem-cell-names = "eeprom";