3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "mofinetwork,mofi3500-3gn", "ralink,rt3052-soc";
9 model = "MoFi Network MOFI3500-3GN";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
47 compatible = "fixed-layout";
51 eeprom_factory_0: eeprom@0 {
58 compatible = "denx,uimage";
60 reg = <0x50000 0x7b0000>;
66 compatible = "gpio-leds";
69 function = LED_FUNCTION_USB;
70 color = <LED_COLOR_ID_GREEN>;
71 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
72 trigger-sources = <&otg_port1>;
73 linux,default-trigger = "usbport";
78 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
82 function = LED_FUNCTION_STATUS;
83 color = <LED_COLOR_ID_GREEN>;
84 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
88 function = LED_FUNCTION_WPS;
89 color = <LED_COLOR_ID_GREEN>;
90 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
95 compatible = "gpio-keys-polled";
100 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_RESTART>;
106 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
107 linux,code = <KEY_CONNECT>;
112 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
113 linux,code = <KEY_WPS_BUTTON>;
120 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
126 mediatek,portmap = <0x2f>;
130 nvmem-cells = <&eeprom_factory_0>;
131 nvmem-cell-names = "eeprom";