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";
14 led-failsafe = &led_ap;
15 led-running = &led_ap;
16 led-upgrade = &led_ap;
20 compatible = "gpio-leds";
23 label = "3g300m:blue:3grouter";
24 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
28 label = "3g300m:blue:ap";
29 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
33 label = "3g300m:blue:wisprouter";
34 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
38 label = "3g300m:blue:wirelessrouter";
39 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
43 label = "3g300m:blue:3g";
44 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
45 trigger-sources = <&otg_port1>;
46 linux,default-trigger = "usbport";
50 label = "3g300m:blue:wpsreset";
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
56 compatible = "gpio-keys-polled";
61 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
67 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
105 compatible = "denx,uimage";
107 reg = <0x50000 0x3b0000>;
114 state_default: pinctrl0 {
116 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
117 ralink,function = "gpio";
123 mtd-mac-address = <&factory 0x4>;
127 mediatek,portmap = <0x2f>;
131 ralink,mtd-eeprom = <&factory 0>;