lantiq: fix mac address increments
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV4520PW.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6 model = "ARV4520PW - Easybox 800, WAV-281";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11 leds {
12 boot = &power_blue;
13 failsafe = &power_red;
14 running = &power_blue;
15
16 dsl = &dsl;
17 internet = &internet_blue;
18 usb = &usb;
19 wifi = &wifi;
20 };
21 };
22
23 memory@0 {
24 reg = <0x0 0x2000000>;
25 };
26
27 sram@1F000000 {
28 vmmc@107000 {
29 status = "okay";
30 gpios = <&gpio 31 0
31 &gpiomm 7 0>;
32 };
33 };
34
35 fpi@10000000 {
36 localbus@0 {
37 nor-boot@0 {
38 compatible = "lantiq,nor";
39 bank-width = <2>;
40 reg = <0 0x0 0x800000>;
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 partitions {
45 compatible = "fixed-partitions";
46 #address-cells = <1>;
47 #size-cells = <1>;
48
49 partition@0 {
50 label = "uboot";
51 reg = <0x00000 0x20000>;
52 read-only;
53 };
54
55 partition@20000 {
56 label = "uboot_env";
57 reg = <0x20000 0x10000>;
58 read-only;
59 };
60
61 partition@30000 {
62 label = "firmware";
63 reg = <0x30000 0x3c0000>;
64 };
65
66 partition@7f0000 {
67 label = "boardconfig";
68 reg = <0x3f0000 0x10000>;
69 read-only;
70 };
71 };
72 };
73
74 mac_addr {
75 compatible = "lantiq,eth-mac";
76 reg = <0 0x3f0016 0x6>;
77 };
78
79 gpiomm: gpiomm@4000000 {
80 compatible = "lantiq,gpio-mm";
81 reg = <1 0x0 0x10 >;
82 #address-cells = <1>;
83 #size-cells = <1>;
84 #gpio-cells = <2>;
85 gpio-controller;
86 lantiq,shadow = <0x400>;
87 };
88 };
89
90 gpio: pinmux@E100B10 {
91 pinctrl-names = "default";
92 pinctrl-0 = <&state_default>;
93
94 state_default: pinmux {
95 ebu {
96 lantiq,groups = "ebu cs1";
97 lantiq,function = "ebu";
98 };
99 pci_in {
100 lantiq,groups = "req1";
101 lantiq,function = "pci";
102 lantiq,open-drain = <1>;
103 lantiq,pull = <2>;
104 lantiq,output = <0>;
105 };
106 pci_out {
107 lantiq,groups = "gnt1";
108 lantiq,function = "pci";
109 lantiq,output = <1>;
110 };
111 pci_rst {
112 lantiq,pins = "io21";
113 lantiq,open-drain = <0>;
114 lantiq,pull = <0>;
115 };
116 };
117 };
118
119 etop@E180000 {
120 phy-mode = "rmii";
121 };
122
123 ifxhcd@E101000 {
124 status = "okay";
125 gpios = <&gpio 28 0>;
126 };
127
128 pci@E105400 {
129 status = "okay";
130 lantiq,external-clock;
131 gpio-reset = <&gpio 21 0>;
132 };
133
134 };
135
136 // gpiomm 10 - switch
137
138 gpio-keys-polled {
139 compatible = "gpio-keys-polled";
140 #address-cells = <1>;
141 #size-cells = <0>;
142 poll-interval = <100>;
143
144 rfkill {
145 label = "wps";
146 gpios = <&gpio 29 1>;
147 linux,code = <0x211>;
148 };
149 reset {
150 label = "reset";
151 gpios = <&gpio 30 1>;
152 linux,code = <0x198>;
153 };
154 };
155
156 gpio-leds {
157 compatible = "gpio-leds";
158
159 power_blue: power {
160 label = "arv4520pw:blue:power";
161 gpios = <&gpio 3 1>;
162 default-state = "keep";
163 };
164 dsl: dsl {
165 label = "arv4520pw:blue:dsl";
166 gpios = <&gpio 4 1>;
167 };
168 internet_blue: internet {
169 label = "arv4520pw:blue:internet";
170 gpios = <&gpio 5 1>;
171 };
172 power_red: power2 {
173 label = "arv4520pw:red:power";
174 gpios = <&gpio 6 1>;
175 };
176 wps {
177 label = "arv4520pw:yellow:wps";
178 gpios = <&gpio 7 1>;
179 };
180 wps2 {
181 label = "arv4520pw:red:wps";
182 gpios = <&gpio 9 1>;
183 };
184 /*
185 wps green is missing
186 */
187 fxs1 {
188 label = "arv4520pw:blue:telefon1";
189 gpios = <&gpiomm 0 1>;
190 };
191 fxs2 {
192 label = "arv4520pw:blue:telefon2";
193 gpios = <&gpiomm 1 1>;
194 };
195 isdn {
196 label = "arv4520pw:blue:isdn";
197 gpios = <&gpiomm 2 1>;
198 };
199 fxo {
200 label = "arv4520pw:blue:line";
201 gpios = <&gpiomm 3 1>;
202 };
203 voice {
204 label = "arv4520pw:blue:sprache";
205 gpios = <&gpiomm 4 1>;
206 };
207 usb: usb {
208 label = "arv4520pw:blue:usb";
209 gpios = <&gpiomm 5 1>;
210 };
211 wifi: wifi {
212 label = "arv4520pw:blue:wifi";
213 gpios = <&gpiomm 6 1>;
214 };
215 internet2 {
216 label = "arv4520pw:red:internet";
217 gpios = <&gpiomm 9 1>;
218 };
219 /*
220 info is missing
221 */
222 };
223 };