lantiq: fix mac address increments
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV7519PW.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6         model = "ARV7519PW - Astoria Networks";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11                 leds {
12                         boot = &power;
13                         failsafe = &power2;
14                         running = &power;
15
16                         dsl = &dsl;
17                         internet = &online;
18                         wifi = &wifi;
19                 };
20         };
21
22         memory@0 {
23                 reg = <0x0 0x4000000>;
24         };
25
26         sram@1F000000 {
27                 vmmc@107000 {
28                         status = "okay";
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 0x2000000>;
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 0x40000>;
49                                                 read-only;
50                                         };
51
52                                         partition@40000 {
53                                                 label = "uboot_env";
54                                                 reg = <0x40000 0x20000>;
55                                         };
56
57                                         partition@60000 {
58                                                 label = "firmware";
59                                                 reg = <0x60000 0xf80000>;
60                                         };
61
62                                         partition@fe0000 {
63                                                 label = "board_config";
64                                                 reg = <0xfe0000 0x20000>;
65                                                 read-only;
66                                         };
67                                 };
68                         };
69
70                         mac_addr {
71                                 compatible = "lantiq,eth-mac";
72                                 reg = <0 0xfe0016 0x6>;
73                         };
74                 };
75
76                 gpio: pinmux@E100B10 {
77                         pinctrl-names = "default";
78                         pinctrl-0 = <&state_default>;
79
80                         state_default: pinmux {
81                                 ebu {
82                                         lantiq,groups = "ebu cs1";
83                                         lantiq,function = "ebu";
84                                 };
85                                 pci_in {
86                                         lantiq,groups = "req1";
87                                         lantiq,function = "pci";
88                                         lantiq,open-drain = <1>;
89                                         lantiq,pull = <2>;
90                                         lantiq,output = <0>;
91                                 };
92                                 pci_out {
93                                         lantiq,groups = "gnt1";
94                                         lantiq,function = "pci";
95                                         lantiq,pull = <0>;
96                                         lantiq,output = <1>;
97                                 };
98                                 pci_rst {
99                                         lantiq,pins = "io21";
100                                         lantiq,pull = <2>;
101                                         lantiq,output = <1>;
102                                 };
103                                 switch_rst {
104                                         lantiq,pins = "io19";
105                                         lantiq,pull = <2>;
106                                         lantiq,output = <1>;
107                                 };
108                         };
109                 };
110
111                 etop@E180000 {
112                         phy-mode = "mii";
113                 };
114
115                 /* warning: passive port
116                 only works with active devices */
117                 ifxhcd@E101000 {
118                         status = "okay";
119                 };
120
121                 pci@E105400 {
122                         status = "okay";
123                         lantiq,external-clock;
124                         gpio-reset = <&gpio 21 0>;
125                         req-mask = <0xf>;
126                 };
127         };
128
129         ralink_eep {
130                 compatible = "ralink,eeprom";
131                 ralink,eeprom = "RT2860.eeprom";
132         };
133
134         gpio-keys-polled {
135                 compatible = "gpio-keys-polled";
136                 #address-cells = <1>;
137                 #size-cells = <0>;
138                 poll-interval = <100>;
139
140                 rfkill {
141                         label = "rfkill";
142                         gpios = <&gpio 11 1>;
143                         linux,code = <0xf7>;
144                 };
145                 reset {
146                         label = "reset";
147                         gpios = <&gpio 28 1>;
148                         linux,code = <0x198>;
149                 };
150         };
151
152         gpio-leds {
153                 compatible = "gpio-leds";
154                 power: power {
155                         label = "power";
156                         gpios = <&gpio 2 1>;
157                         default-state = "keep";
158                 };
159                 power2: power2 {
160                         label = "power2";
161                         gpios = <&gpio 14 1>;
162                 };
163                 online: online {
164                         label = "online";
165                         gpios = <&gpio 3 1>;
166                 };
167                 online2 {
168                         label = "online2";
169                         gpios = <&gpio 30 1>;
170                 };
171                 wifi: wifi {
172                         label = "wifi";
173                         gpios = <&gpio 12 1>;
174                 };
175                 wifi2 {
176                         label = "wifi2";
177                         gpios = <&gpio 10 1>;
178                 };
179                 wifi3 {
180                         label = "wifi3";
181                         gpios = <&gpio 6 1>;
182                 };
183                 voice {
184                         label = "voice";
185                         gpios = <&gpio 31 1>;
186                 };
187                 wps {
188                         label = "wps";
189                         gpios = <&gpio 15 1>;
190                 };
191                 wps2 {
192                         label = "wps2";
193                         gpios = <&gpio 7 1>;
194                 };
195                 wps3 {
196                         label = "wps3";
197                         gpios = <&gpio 23 1>;
198                 };
199                 dsl: dsl {
200                         label = "dsl";
201                         gpios = <&gpio 4 1>;
202                 };
203                 lan {
204                         label = "lan";
205                         gpios = <&gpio 1 1>;
206                 };
207                 tv {
208                         label = "tv";
209                         gpios = <&gpio 20 1>;
210                 };
211                 upgrade {
212                         label = "upgrade";
213                         gpios = <&gpio 29 1>;
214                 };
215         };
216
217         /* is there another way to "reserve" the GPIO? */
218         gpio_export {
219                 compatible = "gpio-export";
220                 #size-cells = <0>;
221
222                 switch {
223                         gpio-export,name = "switch";
224                         gpio-export,output = <1>;
225                         gpios = <&gpio 19 0>;
226                 };
227         };
228 };