lantiq: fix mac address increments
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV4518PWR01.dtsi
1 /include/ "danube.dtsi"
2
3 / {
4 chosen {
5 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
6
7 leds {
8 boot = &power;
9 failsafe = &power;
10 running = &power;
11
12 dsl = &dsl;
13 internet = &online;
14 usb = &usb;
15 wifi = &wifi;
16 };
17 };
18
19 memory@0 {
20 reg = <0x0 0x4000000>;
21 };
22
23 sram@1F000000 {
24 vmmc@107000 {
25 status = "okay";
26 gpios = <&gpio 31 0>;
27 };
28 };
29
30 fpi@10000000 {
31 localbus@0 {
32 nor-boot@0 {
33 compatible = "lantiq,nor";
34 bank-width = <2>;
35 reg = <0 0x0 0x2000000>;
36 #address-cells = <1>;
37 #size-cells = <1>;
38
39 partitions {
40 compatible = "fixed-partitions";
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 partition@0 {
45 label = "uboot";
46 reg = <0x00000 0x10000>; /* 64 KB */
47 read-only;
48 };
49
50 partition@10000 {
51 label = "uboot_env";
52 reg = <0x10000 0x10000>; /* 64 KB */
53 read-only;
54 };
55
56 partition@20000 {
57 label = "firmware";
58 reg = <0x20000 0x3d0000>;
59 };
60
61 boardconfig: partition@400000 {
62 label = "boardconfig";
63 reg = <0x3f0000 0x10000>;
64 read-only;
65 };
66 };
67 };
68
69 gpiomm: gpiomm@4000000 {
70 compatible = "lantiq,gpio-mm";
71 reg = <1 0x0 0x10 >;
72 #address-cells = <1>;
73 #size-cells = <1>;
74 #gpio-cells = <2>;
75 gpio-controller;
76 lantiq,shadow = <0x0>;
77 };
78
79 mac_addr {
80 compatible = "lantiq,eth-mac";
81 reg = <0 0x3f0016 0x6>;
82 };
83
84 ath5k_eep {
85 compatible = "ath5k,eeprom";
86 ath,eep-flash = <&boardconfig 0x400>;
87 ath,mac-offset = <0x16>;
88 ath,mac-increment = <1>;
89 ath,eep-swap;
90 };
91 };
92
93 gpio: pinmux@E100B10 {
94 pinctrl-names = "default";
95 pinctrl-0 = <&state_default>;
96
97 state_default: pinmux {
98 ebu {
99 lantiq,groups = "ebu cs1";
100 lantiq,function = "ebu";
101 };
102 pci_in {
103 lantiq,groups = "req1", "req2";
104 lantiq,function = "pci";
105 lantiq,open-drain = <1>;
106 lantiq,pull = <2>;
107 lantiq,output = <0>;
108 };
109 pci_out {
110 lantiq,groups = "gnt1", "gnt2";
111 lantiq,function = "pci";
112 lantiq,pull = <0>;
113 lantiq,output = <1>;
114 };
115 };
116 };
117
118 etop@E180000 {
119 phy-mode = "mii";
120 };
121
122 ifxhcd@E101000 {
123 status = "okay";
124 gpios = <&gpio 14 0>;
125 };
126
127 pci@E105400 {
128 status = "okay";
129 gpio-reset = <&gpio 21 0>;
130 req-mask = <0xf>;
131 };
132
133 };
134
135 gpio-keys-polled {
136 compatible = "gpio-keys-polled";
137 #address-cells = <1>;
138 #size-cells = <0>;
139 poll-interval = <100>;
140
141 rfkill {
142 label = "rfkill";
143 gpios = <&gpio 28 1>;
144 linux,code = <0xf7>;
145 };
146 reset {
147 label = "reset";
148 gpios = <&gpio 30 1>;
149 linux,code = <0x198>;
150 };
151 };
152
153 gpio-leds {
154 compatible = "gpio-leds";
155 power: power {
156 label = "power";
157 gpios = <&gpio 3 0>;
158 default-state = "keep";
159 };
160 dsl: dsl {
161 label = "dsl";
162 gpios = <&gpio 4 1>;
163 };
164 online: online {
165 label = "online";
166 gpios = <&gpio 5 1>;
167 };
168 wifi: wifi {
169 label = "wifi";
170 gpios = <&gpio 6 1>;
171 };
172 wps {
173 label = "wps";
174 gpios = <&gpio 7 1>;
175 };
176 dsl2 {
177 label = "dsl2";
178 gpios = <&gpio 8 1>;
179 };
180 usb: usb {
181 label = "usb";
182 gpios = <&gpio 19 1>;
183 };
184 voice {
185 label = "voice";
186 gpios = <&gpiomm 0 1>;
187 };
188 fxs1 {
189 label = "fxs1";
190 gpios = <&gpiomm 1 1>;
191 };
192 fxs2 {
193 label = "fxs2";
194 gpios = <&gpiomm 2 1>;
195 };
196 fxo {
197 label = "fxo";
198 gpios = <&gpiomm 3 1>;
199 };
200 };
201 };