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 compatible = "gpio-leds";
16 label = "wl-330n3g:blue:3g";
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
21 label = "wl-330n3g:red:3g";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
26 label = "wl-330n3g:blue:power";
27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
81 reg = <0x50000 0x3b0000>;
87 state_default: pinctrl0 {
89 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
90 ralink,function = "gpio";
96 mtd-mac-address = <&factory 0x4>;
100 mediatek,portmap = <0x3e>;
104 ralink,mtd-eeprom = <&factory 0>;