lantiq: use dwc2 by default on all ar9 boards
[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                                 partition@0 {
40                                         label = "uboot";
41                                         reg = <0x00000 0x10000>; /* 64 KB */
42                                         read-only;
43                                 };
44
45                                 partition@10000 {
46                                         label = "uboot_env";
47                                         reg = <0x10000 0x10000>; /* 64 KB */
48                                         read-only;
49                                 };
50
51                                 partition@20000 {
52                                         label = "firmware";
53                                         reg = <0x20000 0x3d0000>;
54                                 };
55
56                                 partition@400000 {
57                                         label = "boardconfig";
58                                         reg = <0x3f0000 0x10000>;
59                                         read-only;
60                                 };
61                         };
62
63                         gpiomm: gpiomm@4000000 {
64                                 compatible = "lantiq,gpio-mm";
65                                 reg = <1 0x0 0x10 >;
66                                 #address-cells = <1>;
67                                 #size-cells = <1>;
68                                 #gpio-cells = <2>;
69                                 gpio-controller;
70                                 lantiq,shadow = <0x0>;
71                         };
72
73                         mac_addr {
74                                 compatible = "lantiq,eth-mac";
75                                 reg = <0 0x3f0016 0x6>;
76                                 mac-increment = <2>;
77                         };
78
79                         ath5k_eep {
80                                 compatible = "ath5k,eeprom";
81                                 reg = <0 0x3f0400 0x1000
82                                         0 0x3f0016 0x6>;
83                                 ath,mac-increment = <1>;
84                                 ath,eep-swap;
85                         };
86                 };
87
88                 gpio: pinmux@E100B10 {
89                         pinctrl-names = "default";
90                         pinctrl-0 = <&state_default>;
91
92                         state_default: pinmux {
93                                 ebu {
94                                         lantiq,groups = "ebu cs1";
95                                         lantiq,function = "ebu";
96                                 };
97                                 pci_in {
98                                         lantiq,groups = "req1", "req2";
99                                         lantiq,function = "pci";
100                                         lantiq,open-drain = <1>;
101                                         lantiq,pull = <2>;
102                                         lantiq,output = <0>;
103                                 };
104                                 pci_out {
105                                         lantiq,groups = "gnt1", "gnt2";
106                                         lantiq,function = "pci";
107                                         lantiq,pull = <0>;
108                                         lantiq,output = <1>;
109                                 };
110                         };
111                 };
112
113                 etop@E180000 {
114                         phy-mode = "mii";
115                 };
116
117                 ifxhcd@E101000 {
118                         status = "okay";
119                         gpios = <&gpio 14 0>;
120                 };
121
122                 pci@E105400 {
123                         status = "okay";
124                         gpio-reset = <&gpio 21 0>;
125                         req-mask = <0xf>;
126                 };
127
128         };
129
130         gpio-keys-polled {
131                 compatible = "gpio-keys-polled";
132                 #address-cells = <1>;
133                 #size-cells = <0>;
134                 poll-interval = <100>;
135
136                 rfkill {
137                         label = "rfkill";
138                         gpios = <&gpio 28 1>;
139                         linux,code = <0xf7>;
140                 };
141                 reset {
142                         label = "reset";
143                         gpios = <&gpio 30 1>;
144                         linux,code = <0x198>;
145                 };
146         };
147
148         gpio-leds {
149                 compatible = "gpio-leds";
150                 power: power {
151                         label = "power";
152                         gpios = <&gpio 3 0>;
153                         default-state = "keep";
154                 };
155                 dsl: dsl {
156                         label = "dsl";
157                         gpios = <&gpio 4 1>;
158                 };
159                 online: online {
160                         label = "online";
161                         gpios = <&gpio 5 1>;
162                 };
163                 wifi: wifi {
164                         label = "wifi";
165                         gpios = <&gpio 6 1>;
166                 };
167                 wps {
168                         label = "wps";
169                         gpios = <&gpio 7 1>;
170                 };
171                 dsl2 {
172                         label = "dsl2";
173                         gpios = <&gpio 8 1>;
174                 };
175                 usb: usb {
176                         label = "usb";
177                         gpios = <&gpio 19 1>;
178                 };
179                 voice {
180                         label = "voice";
181                         gpios = <&gpiomm 0 1>;
182                 };
183                 fxs1 {
184                         label = "fxs1";
185                         gpios = <&gpiomm 1 1>;
186                 };
187                 fxs2 {
188                         label = "fxs2";
189                         gpios = <&gpiomm 2 1>;
190                 };
191                 fxo {
192                         label = "fxo";
193                         gpios = <&gpiomm 3 1>;
194                 };
195         };
196 };