lantiq: fix mac address increments
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV752DPW22.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6         model = "ARV752DPW22 - Arcor 803";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11                 leds {
12                         boot = &power_red;
13                         failsafe = &power_blue;
14                         running = &power_red;
15
16                         internet = &internet_red;
17                         wifi = &wifi;
18                 };
19         };
20
21         memory@0 {
22                 reg = <0x0 0x4000000>;
23         };
24
25         sram@1F000000 {
26                 vmmc@107000 {
27                         status = "okay";
28                         gpios = <&gpiomm 1 0>;
29                 };
30         };
31
32         fpi@10000000 {
33                 localbus@0 {
34                         nor-boot@0 {
35                                 compatible = "lantiq,nor";
36                                 bank-width = <2>;
37                                 reg = <0 0x0 0x800000>;
38                                 #address-cells = <1>;
39                                 #size-cells = <1>;
40
41                                 partitions {
42                                         compatible = "fixed-partitions";
43                                         #address-cells = <1>;
44                                         #size-cells = <1>;
45
46                                         partition@0 {
47                                                 label = "uboot";
48                                                 reg = <0x00000 0x30000>;
49                                                 read-only;
50                                         };
51
52                                         partition@10000 {
53                                                 label = "uboot_env";
54                                                 reg = <0x30000 0x10000>;
55                                                 read-only;
56                                         };
57
58                                         partition@20000 {
59                                                 label = "firmware";
60                                                 reg = <0x40000 0x7b0000>;
61                                         };
62
63                                         partition@7f0000 {
64                                                 label = "board_config";
65                                                 reg = <0x7f0000 0x10000>;
66                                                 read-only;
67                                         };
68                                 };
69                         };
70
71                         mac_addr {
72                                 compatible = "lantiq,eth-mac";
73                                 reg = <0 0x7f0016 0x6>;
74                         };
75
76                         gpiomm: gpiomm@4000000 {
77                                 compatible = "lantiq,gpio-mm";
78                                 reg = <1 0x0 0x10 >;
79                                 #address-cells = <1>;
80                                 #size-cells = <1>;
81                                 #gpio-cells = <2>;
82                                 gpio-controller;
83                                 lantiq,shadow = <3>;
84                         };
85                 };
86
87                 gpio: pinmux@E100B10 {
88                         pinctrl-names = "default";
89                         pinctrl-0 = <&state_default>;
90
91                         state_default: pinmux {
92                                 ebu {
93                                         lantiq,groups = "ebu cs1";
94                                         lantiq,function = "ebu";
95                                 };
96                                 exin {
97                                         lantiq,groups = "exin1";
98                                         lantiq,function = "exin";
99                                         lantiq,pull = <2>;
100                                         lantiq,output = <0>;
101                                 };
102                                 pci_in {
103                                         lantiq,groups = "req1";
104                                         lantiq,function = "pci";
105                                         lantiq,pull = <2>;
106                                         lantiq,output = <0>;
107                                 };
108                                 pci_out {
109                                         lantiq,groups = "gnt1";
110                                         lantiq,function = "pci";
111                                         lantiq,open-drain = <1>;
112                                         lantiq,output = <1>;
113                                 };
114                                 pci_rst {
115                                         lantiq,pins = "io21";
116                                         lantiq,open-drain = <1>;
117                                         lantiq,output = <1>;
118                                 };
119                                 leds {
120                                         lantiq,pins = "io3", "io5", "io6", "io8";
121                                         lantiq,open-drain = <1>;
122                                         lantiq,output = <1>;
123                                 };
124                                 buttons {
125                                         lantiq,pins = "io11", "io12", "io13", "io28";
126                                         lantiq,pull = <2>;
127                                         lantiq,output = <0>;
128                                 };
129                         };
130                 };
131
132                 ifxhcd@E101000 {
133                         status = "okay";
134                         gpios = <&gpiomm 0 0>;
135                 };
136
137                 etop@E180000 {
138                         phy-mode = "mii";
139                 };
140
141                 pci@E105400 {
142                         status = "okay";
143                         lantiq,external-clock;
144                         interrupt-map = <
145                                 0x7000 0 0 1 &icu0 30
146                                 0x7800 0 0 1 &icu0 135
147                                 0x7800 0 0 2 &icu0 135
148                                 0x7800 0 0 3 &icu0 135
149                         >;
150                         gpio-reset = <&gpio 21 0>;
151                         req-mask = <0x3>;
152                 };
153
154         };
155
156         ralink_eep {
157                 compatible = "ralink,eeprom";
158                 ralink,eeprom = "RT2860.eeprom";
159         };
160
161         gpio-keys-polled {
162                 compatible = "gpio-keys-polled";
163                 #address-cells = <1>;
164                 #size-cells = <0>;
165                 poll-interval = <100>;
166
167                 wps {
168                         label = "wps";
169                         gpios = <&gpio 11 1>;
170                         linux,code = <0x211>;
171                 };
172                 restart {
173                         label = "restart";
174                         gpios = <&gpio 12 1>;
175                         linux,code = <0x110>;
176                 };
177                 dsl {
178                         label = "dsl";
179                         gpios = <&gpio 13 1>;
180                         linux,code = <0x111>;
181                 };
182                 reset {
183                         label = "reset";
184                         gpios = <&gpio 28 1>;
185                         linux,code = <0x198>;
186                 };
187         };
188
189         gpio-leds {
190                 compatible = "gpio-leds";
191                 power_blue: power1 {
192                         label = "arv752dpw22:blue:power";
193                         gpios = <&gpio 3 1>;
194                 };
195                 internet_red: internet {
196                         label = "arv752dpw22:red:internet";
197                         gpios = <&gpio 4 1>;
198                 };
199                 message {
200                         label = "arv752dpw22:red:message";
201                         gpios = <&gpio 5 1>;
202                 };
203                 power_red: power {
204                         label = "arv752dpw22:red:power";
205                         gpios = <&gpio 6 1>;
206                         default-state = "keep";
207                 };
208                 voice1 {
209                         label = "arv752dpw22:red:voice";
210                         gpios = <&gpio 8 1>;
211                 };
212                 microphone {
213                         label = "arv752dpw22:red:umts";
214                         gpios = <&gpiomm 3 1>;
215                 };
216                 wifi: wifi {
217                         label = "arv752dpw22:red:wifi";
218                         gpios = <&gpiomm 4 1>;
219                 };
220                 fxs1 {
221                         label = "arv752dpw22:green:tae-n";
222                         gpios = <&gpiomm 5 1>;
223                 };
224                 fxs2 {
225                         label = "arv752dpw22:green:tae-u";
226                         gpios = <&gpiomm 6 1>;
227                 };
228                 fxo {
229                         label = "arv752dpw22:green:isdn";
230                         gpios = <&gpiomm 7 1>;
231                 };
232                 internet2 {
233                         label = "arv752dpw22:blue:internet";
234                         gpios = <&gpiomm 8 1>;
235                 };
236                 voice2 {
237                         label = "arv752dpw22:blue:voice";
238                         gpios = <&gpiomm 9 1>;
239                 };
240                 eth1 {
241                          label = "arv752dpw22:green:lan1";
242                          gpios = <&gpiomm 11 1>;
243                 };
244                 eth2 {
245                         label = "arv752dpw22:green:lan2";
246                         gpios = <&gpiomm 12 1>;
247                 };
248                 eth3 {
249                         label = "arv752dpw22:green:lan3";
250                         gpios = <&gpiomm 13 1>;
251                 };
252                 eth4 {
253                         label = "arv752dpw22:green:lan4";
254                         gpios = <&gpiomm 14 1>;
255                 };
256         };
257 };