lantiq: fix mac address increments
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV7525PW.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6         model = "ARV7525PW - Speedport W303V Typ A";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11                 leds {
12                         boot = &power_green;
13                         failsafe = &power_red;
14                         running = &power_green;
15
16                         dsl = &power_green;
17                         internet = &online;
18                         wifi = &wifi;
19                 };
20         };
21
22         memory@0 {
23                 reg = <0x0 0x2000000>;
24         };
25
26         sram@1F000000 {
27                 vmmc@107000 {
28                         status = "okay";
29                         gpios = <&gpio 31 0>;
30                 };
31         };
32
33         fpi@10000000 {
34                 localbus@0 {
35                         nor-boot@0 {
36                                 compatible = "lantiq,nor";
37                                 bank-width = <2>;
38                                 reg = <0 0x0 0x2000000>;
39                                 #address-cells = <1>;
40                                 #size-cells = <1>;
41
42                                 partitions {
43                                         compatible = "fixed-partitions";
44                                         #address-cells = <1>;
45                                         #size-cells = <1>;
46
47                                         partition@0 {
48                                                 label = "uboot";
49                                                 reg = <0x00000 0x10000>;
50                                                 read-only;
51                                         };
52
53                                         partition@10000 {
54                                                 label = "uboot_env";
55                                                 reg = <0x10000 0x10000>;
56                                                 read-only;
57                                         };
58
59                                         partition@20000 {
60                                                 label = "firmware";
61                                                 reg = <0x20000 0x3d0000>;
62                                         };
63
64                                         partition@400000 {
65                                                 label = "board_config";
66                                                 reg = <0x3f0000 0x10000>;
67                                                 read-only;
68                                         };
69                                 };
70                         };
71
72                         mac_addr {
73                                 compatible = "lantiq,eth-mac";
74                                 reg = <0 0x3f0016 0x6>;
75                         };
76
77                         ralink_eep {
78                                 compatible = "ralink,eeprom";
79                                 ralink,eeprom = "RT2860.eeprom";
80                                 reg = <0 0x3f0410 0x110>;
81                         };
82                 };
83
84                 gpio: pinmux@E100B10 {
85                         pinctrl-names = "default";
86                         pinctrl-0 = <&state_default>;
87
88                         state_default: pinmux {
89                                 exin {
90                                         lantiq,groups = "exin1";
91                                         lantiq,function = "exin";
92                                 };
93                                 pci {
94                                         lantiq,groups = "gnt1", "req1";
95                                         lantiq,function = "pci";
96                                 };
97                         };
98                 };
99
100                 etop@E180000 {
101                         phy-mode = "mii";
102                 };
103
104                 pci@E105400 {
105                         status = "okay";
106                         interrupt-map = <0x7000 0 0 1 &icu0 135 1>;
107                         req-mask = <0x1>;
108                 };
109
110         };
111
112         gpio-keys-polled {
113                 compatible = "gpio-keys-polled";
114                 #address-cells = <1>;
115                 #size-cells = <0>;
116                 poll-interval = <100>;
117
118                 wps {
119                         label = "wps";
120                         gpios = <&gpio 29 1>;
121                         linux,code = <0x211>;
122                 };
123                 reset {
124                         label = "reset";
125                         gpios = <&gpio 30 1>;
126                         linux,code = <0x198>;
127                 };
128         };
129
130         gpio-leds {
131                 compatible = "gpio-leds";
132                 power_green: power {
133                         label = "arv7525pw:green:power";
134                         gpios = <&gpio 3 1>;
135                         default-state = "keep";
136                 };
137                 power_red: power1 {
138                         label = "arv7525pw:red:power";
139                         gpios = <&gpio 4 1>;
140                 };
141                 online: online {
142                         label = "arv7525pw:green:online";
143                         gpios = <&gpio 5 1>;
144                 };
145                 voice {
146                         label = "arv7525pw:green:telefonie";
147                         gpios = <&gpio 6 1>;
148                 };
149                 voice2 {
150                         label = "arv7525pw:red:telefonie";
151                         gpios = <&gpio 8 1>;
152                 };
153                 wifi: wifi {
154                         label = "arv7525pw:green:wlan";
155                         gpios = <&gpio 9 1>;
156                 };
157         };
158 };