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";
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
23 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
39 factory: partition@40000 {
41 reg = <0x40000 0x10000>;
47 reg = <0x50000 0x3c8000>;
53 compatible = "gpio-leds";
56 label = "w150m:blue:3grouter";
57 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
61 label = "w150m:blue:ap";
62 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
66 label = "w150m:blue:wisprouter";
67 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
71 label = "w150m:blue:wirelessrouter";
72 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
76 label = "w150m:blue:3g";
77 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
81 label = "w150m:blue:wpsreset";
82 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
87 compatible = "gpio-keys-polled";
92 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
93 linux,code = <KEY_RESTART>;
98 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
105 state_default: pinctrl0 {
107 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
108 ralink,function = "gpio";
114 mtd-mac-address = <&factory 0x4>;
118 mediatek,portmap = <0x2f>;
122 ralink,mtd-eeprom = <&factory 0>;