5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tenda,w150m", "ralink,rt3050-soc";
10 model = "Tenda W150M";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x3c8000>;
45 compatible = "gpio-leds";
48 label = "w150m:blue:3grouter";
49 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
53 label = "w150m:blue:ap";
54 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
58 label = "w150m:blue:wisprouter";
59 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
63 label = "w150m:blue:wirelessrouter";
64 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
68 label = "w150m:blue:3g";
69 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
73 label = "w150m:blue:wpsreset";
74 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-keys-polled";
86 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_RESTART>;
92 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
99 state_default: pinctrl0 {
101 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = <0x2f>;
116 ralink,mtd-eeprom = <&factory 0>;