5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tenda,3g300m", "ralink,rt3052-soc";
10 model = "Tenda 3G300M";
17 compatible = "gpio-leds";
20 label = "3g300m:blue:3grouter";
21 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
25 label = "3g300m:blue:ap";
26 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
30 label = "3g300m:blue:wisprouter";
31 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
35 label = "3g300m:blue:wirelessrouter";
36 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
40 label = "3g300m:blue:3g";
41 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
45 label = "3g300m:blue:wpsreset";
46 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys-polled";
58 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <10000000>;
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
100 reg = <0x50000 0x3b0000>;
106 state_default: pinctrl0 {
108 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
109 ralink,function = "gpio";
115 mtd-mac-address = <&factory 0x4>;
119 mediatek,portmap = <0x2f>;
123 ralink,mtd-eeprom = <&factory 0>;