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";
13 compatible = "gpio-leds";
16 label = "3g300m:blue:3grouter";
17 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
21 label = "3g300m:blue:ap";
22 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
26 label = "3g300m:blue:wisprouter";
27 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
31 label = "3g300m:blue:wirelessrouter";
32 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
36 label = "3g300m:blue:3g";
37 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
41 label = "3g300m:blue:wpsreset";
42 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys-polled";
54 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
96 reg = <0x50000 0x3b0000>;
102 state_default: pinctrl0 {
104 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
105 ralink,function = "gpio";
111 mtd-mac-address = <&factory 0x4>;
115 mediatek,portmap = <0x2f>;
119 ralink,mtd-eeprom = <&factory 0>;