3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/mtd/partitions/uimage.h>
9 compatible = "edimax,3g-6200nl", "ralink,rt3050-soc";
10 model = "Edimax 3g-6200nl";
13 led-boot = &led_internet;
14 led-failsafe = &led_internet;
15 led-running = &led_internet;
16 led-upgrade = &led_internet;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
44 reg = <0x40000 0x10000>;
48 compatible = "fixed-layout";
52 eeprom_factory_0: eeprom@0 {
56 macaddr_factory_4: macaddr@4 {
64 reg = <0x3e0000 0x20000>;
69 compatible = "openwrt,uimage", "denx,uimage";
70 openwrt,offset = <FW_EDIMAX_OFFSET>;
71 openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
73 reg = <0x50000 0x390000>;
79 compatible = "gpio-leds";
81 led_internet: internet {
82 label = "green:internet";
83 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
87 function = LED_FUNCTION_WLAN;
88 color = <LED_COLOR_ID_GREEN>;
89 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
94 compatible = "gpio-keys-polled";
99 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_RESTART>;
107 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
113 nvmem-cells = <&macaddr_factory_4>;
114 nvmem-cell-names = "mac-address";
118 mediatek,portdisable = <0x37>;
122 nvmem-cells = <&eeprom_factory_0>;
123 nvmem-cell-names = "eeprom";