5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "edimax,3g-6200n", "ralink,rt3050-soc";
10 model = "Edimax 3g-6200n";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
50 reg = <0x3e0000 0x20000>;
55 compatible = "edimax,uimage";
57 reg = <0x50000 0x390000>;
63 compatible = "gpio-leds";
66 label = "3g-6200n:green:power";
67 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
71 label = "3g-6200n:amber:wlan";
72 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
76 label = "3g-6200n:blue:3g";
77 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
78 trigger-sources = <&otg_port1>;
79 linux,default-trigger = "usbport";
84 compatible = "gpio-keys-polled";
89 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RESTART>;
95 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_RFKILL>;
102 state_default: pinctrl0 {
104 ralink,group = "spi", "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>;