5 #include <dt-bindings/input/input.h>
8 compatible = "3G300M", "ralink,rt3052-soc";
9 model = "Tenda 3G300M";
12 compatible = "gpio-leds";
15 label = "3g300m:blue:3grouter";
16 gpios = <&gpio0 11 1>;
20 label = "3g300m:blue:ap";
21 gpios = <&gpio0 12 1>;
25 label = "3g300m:blue:wisprouter";
30 label = "3g300m:blue:wirelessrouter";
31 gpios = <&gpio0 13 1>;
35 label = "3g300m:blue:3g";
40 label = "3g300m:blue:wpsreset";
41 gpios = <&gpio0 14 1>;
46 compatible = "gpio-keys-polled";
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio0 10 1>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
95 reg = <0x50000 0x3b0000>;
101 state_default: pinctrl0 {
103 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
104 ralink,function = "gpio";
110 mtd-mac-address = <&factory 0x4>;
114 mediatek,portmap = <0x2f>;
118 ralink,mtd-eeprom = <&factory 0>;