5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "alphanetworks,asl26555-8m", "alphanetworks,asl26555", "ralink,rt3050-soc";
10 model = "Alpha ASL26555 (8M)";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
21 linux,code = <KEY_RESTART>;
26 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
27 linux,code = <KEY_WPS_BUTTON>;
32 compatible = "gpio-leds";
35 label = "asl26555:green:eth";
36 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
40 label = "asl26555:red:wan";
41 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
45 label = "asl26555:green:wan";
46 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
50 label = "asl26555:green:wlan";
51 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
55 label = "asl26555:green:power";
56 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
60 label = "asl26555:red:power";
61 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
65 label = "asl26555:green:3g";
66 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
70 label = "asl26555:red:3g";
71 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <10000000>;
96 ubootenv: partition@30000 {
98 reg = <0x30000 0x10000>;
104 reg = <0x40000 0x10000>;
110 reg = <0x50000 0x790000>;
115 reg = <0x7e0000 0x10000>;
121 reg = <0x7f0000 0x10000>;
128 state_default: pinctrl0 {
130 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
131 ralink,function = "gpio";
137 mtd-mac-address = <&ubootenv 0x4004>;
141 mediatek,portmap = <0x1e>;
145 ralink,mtd-eeprom = <&ubootenv 0x4000>;