dnsmasq: full: disable ipset support by default
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / rt3050_dlink_dir-615-d.dts
1 #include "rt3050.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "dlink,dir-615-d", "ralink,rt3050-soc";
8 model = "D-Link DIR-615 D";
9
10 aliases {
11 led-boot = &led_status_green;
12 led-failsafe = &led_status_green;
13 led-running = &led_status_green;
14 led-upgrade = &led_status_green;
15 label-mac-device = &wmac;
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 devdata: partition@30000 {
36 label = "devdata";
37 reg = <0x30000 0x10000>;
38 read-only;
39 };
40
41 partition@40000 {
42 label = "devconf";
43 reg = <0x40000 0x10000>;
44 read-only;
45 };
46
47 partition@50000 {
48 compatible = "denx,uimage";
49 label = "firmware";
50 reg = <0x50000 0x3b0000>;
51 };
52 };
53 };
54
55 keys {
56 compatible = "gpio-keys-polled";
57 poll-interval = <20>;
58
59 reset {
60 label = "reset";
61 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
63 };
64
65 wps {
66 label = "wps";
67 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_WPS_BUTTON>;
69 };
70 };
71
72 leds {
73 compatible = "gpio-leds";
74
75 status_amber {
76 label = "amber:status";
77 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
78 };
79
80 led_status_green: status_green {
81 label = "green:status";
82 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
83 default-state = "on";
84 };
85
86 wan_amber {
87 label = "amber:wan";
88 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
89 };
90
91 wan_green {
92 label = "green:wan";
93 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
94 };
95
96 wps {
97 label = "blue:wps";
98 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
99 };
100 };
101 };
102
103 &esw {
104 mediatek,portmap = <0x2f>;
105 };
106
107 &wmac {
108 ralink,mtd-eeprom = <&devdata 0x4000>;
109 };
110
111 &state_default {
112 gpio {
113 groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
114 function = "gpio";
115 };
116 };