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>;
42 trigger-sources = <&otg_port1>;
43 linux,default-trigger = "usbport";
47 label = "3g300m:blue:wpsreset";
48 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-keys-polled";
58 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0x3b0000>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
113 ralink,function = "gpio";
119 mtd-mac-address = <&factory 0x4>;
123 mediatek,portmap = <0x2f>;
127 ralink,mtd-eeprom = <&factory 0>;