5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,wl-330n3g", "ralink,rt3050-soc";
10 model = "Asus WL-330N3G";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "wl-330n3g:blue:3g";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 label = "wl-330n3g:red:3g";
29 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
33 label = "wl-330n3g:blue:power";
34 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
44 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0x3b0000>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
100 ralink,function = "gpio";
106 mtd-mac-address = <&factory 0x4>;
110 mediatek,portmap = <0x3e>;
114 ralink,mtd-eeprom = <&factory 0>;