dnsmasq: full: disable ipset support by default
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / rt3050_edimax_3g-6200n.dts
1 #include "rt3050.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mtd/partitions/uimage.h>
6
7 / {
8 compatible = "edimax,3g-6200n", "ralink,rt3050-soc";
9 model = "Edimax 3g-6200n";
10
11 aliases {
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 };
17
18 flash@1f000000 {
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
21 bank-width = <2>;
22 device-width = <2>;
23
24 partitions {
25 compatible = "fixed-partitions";
26 #address-cells = <1>;
27 #size-cells = <1>;
28
29 partition@0 {
30 label = "u-boot";
31 reg = <0x0 0x30000>;
32 read-only;
33 };
34
35 partition@30000 {
36 label = "u-boot-env";
37 reg = <0x30000 0x10000>;
38 read-only;
39 };
40
41 factory: partition@40000 {
42 label = "factory";
43 reg = <0x40000 0x10000>;
44 read-only;
45 };
46
47 partition@3e0000 {
48 label = "cimage";
49 reg = <0x3e0000 0x20000>;
50 read-only;
51 };
52
53 partition@50000 {
54 compatible = "openwrt,uimage", "denx,uimage";
55 openwrt,offset = <FW_EDIMAX_OFFSET>;
56 openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
57 label = "firmware";
58 reg = <0x50000 0x390000>;
59 };
60 };
61 };
62
63 leds {
64 compatible = "gpio-leds";
65
66 led_power: power {
67 label = "green:power";
68 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
69 };
70
71 wlan {
72 label = "amber:wlan";
73 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
74 };
75
76 3g {
77 label = "blue:3g";
78 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
79 trigger-sources = <&otg_port1>;
80 linux,default-trigger = "usbport";
81 };
82 };
83
84 keys {
85 compatible = "gpio-keys-polled";
86 poll-interval = <20>;
87
88 reset {
89 label = "reset";
90 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_RESTART>;
92 };
93
94 rfkill {
95 label = "wlanswitch";
96 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_RFKILL>;
98 };
99 };
100 };
101
102 &state_default {
103 gpio {
104 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
105 function = "gpio";
106 };
107 };
108
109 &ethernet {
110 nvmem-cells = <&macaddr_factory_4>;
111 nvmem-cell-names = "mac-address";
112 };
113
114 &esw {
115 mediatek,portmap = <0x2f>;
116 };
117
118 &wmac {
119 ralink,mtd-eeprom = <&factory 0x0>;
120 };
121
122 &otg {
123 status = "okay";
124 };
125
126 &factory {
127 compatible = "nvmem-cells";
128 #address-cells = <1>;
129 #size-cells = <1>;
130
131 macaddr_factory_4: macaddr@4 {
132 reg = <0x4 0x6>;
133 };
134 };