dnsmasq: full: disable ipset support by default
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_linksys_re6500.dts
1 #include "mt7621.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "linksys,re6500", "mediatek,mt7621-soc";
8 model = "Linksys RE6500";
9
10 aliases {
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 wifi {
21 label = "orange:wifi";
22 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
23 };
24
25 led_power: power {
26 label = "white:power";
27 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
28 };
29 };
30
31 keys {
32 compatible = "gpio-keys";
33
34 wps {
35 label = "wps";
36 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_WPS_BUTTON>;
38 };
39
40 reset {
41 label = "reset";
42 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
43 linux,code = <KEY_RESTART>;
44 };
45 };
46 };
47
48 &spi0 {
49 status = "okay";
50
51 flash@0 {
52 compatible = "jedec,spi-nor";
53 reg = <0>;
54 spi-max-frequency = <10000000>;
55
56 partitions {
57 compatible = "fixed-partitions";
58 #address-cells = <1>;
59 #size-cells = <1>;
60
61 partition@0 {
62 label = "u-boot";
63 reg = <0x0 0x30000>;
64 read-only;
65 };
66
67 partition@30000 {
68 label = "u-boot-env";
69 reg = <0x30000 0x10000>;
70 read-only;
71 };
72
73 factory: partition@40000 {
74 label = "factory";
75 reg = <0x40000 0x10000>;
76 read-only;
77 };
78
79 partition@50000 {
80 compatible = "denx,uimage";
81 label = "firmware";
82 reg = <0x50000 0x7b0000>;
83 };
84 };
85 };
86 };
87
88 &state_default {
89 gpio {
90 groups = "i2c", "uart2";
91 function = "gpio";
92 };
93 };
94
95 &pcie {
96 status = "okay";
97 };
98
99 &pcie0 {
100 mt76@0,0 {
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x0000>;
103 ieee80211-freq-limit = <5000000 6000000>;
104 };
105 };
106
107 &pcie1 {
108 mt76@0,0 {
109 reg = <0x0000 0 0 0 0>;
110 mediatek,mtd-eeprom = <&factory 0x8000>;
111 ieee80211-freq-limit = <2400000 2500000>;
112 };
113 };
114
115 &gmac0 {
116 nvmem-cells = <&macaddr_factory_2e>;
117 nvmem-cell-names = "mac-address";
118 };
119
120 &switch0 {
121 ports {
122 port@0 {
123 status = "okay";
124 label = "lan1";
125 };
126
127 port@1 {
128 status = "okay";
129 label = "lan2";
130 };
131
132 port@2 {
133 status = "okay";
134 label = "lan3";
135 };
136
137 port@3 {
138 status = "okay";
139 label = "lan4";
140 };
141 };
142 };
143
144 &xhci {
145 status = "disabled";
146 };
147
148 &factory {
149 compatible = "nvmem-cells";
150 #address-cells = <1>;
151 #size-cells = <1>;
152
153 macaddr_factory_2e: macaddr@2e {
154 reg = <0x2e 0x6>;
155 };
156 };