lantiq: specify console using stdout-path instead of cmdline argument
[openwrt/staging/rmilecki.git] / target / linux / lantiq / dts / danube.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,danube";
7
8 aliases {
9 serial0 = &asc1;
10 };
11
12 chosen {
13 bootargs = "init=/etc/preinit";
14 stdout-path = "serial0:115200n8";
15 };
16
17 cpus {
18 cpu@0 {
19 compatible = "mips,mips24Kc";
20 };
21 };
22
23 memory@0 {
24 device_type = "memory";
25 };
26
27 biu@1F800000 {
28 #address-cells = <1>;
29 #size-cells = <1>;
30 compatible = "lantiq,biu", "simple-bus";
31 reg = <0x1F800000 0x800000>;
32 ranges = <0x0 0x1F800000 0x7FFFFF>;
33
34 icu0: icu@80200 {
35 #interrupt-cells = <1>;
36 interrupt-controller;
37 compatible = "lantiq,icu";
38 reg = <0x80200 0x28
39 0x80228 0x28
40 0x80250 0x28
41 0x80278 0x28
42 0x802a0 0x28>;
43 };
44
45 watchdog@803F0 {
46 compatible = "lantiq,wdt";
47 reg = <0x803F0 0x10>;
48 };
49 };
50
51 sram@1F000000 {
52 #address-cells = <1>;
53 #size-cells = <1>;
54 compatible = "lantiq,sram", "simple-bus";
55 reg = <0x1F000000 0x800000>;
56 ranges = <0x0 0x1F000000 0x7FFFFF>;
57
58 eiu0: eiu@101000 {
59 #interrupt-cells = <1>;
60 interrupt-controller;
61 compatible = "lantiq,eiu-xway";
62 reg = <0x101000 0x1000>;
63 interrupt-parent = <&icu0>;
64 lantiq,eiu-irqs = <166 135 66>;
65 };
66
67 pmu0: pmu@102000 {
68 compatible = "lantiq,pmu-xway";
69 reg = <0x102000 0x1000>;
70 };
71
72 cgu0: cgu@103000 {
73 compatible = "lantiq,cgu-xway";
74 reg = <0x103000 0x1000>;
75 #clock-cells = <1>;
76 };
77
78 vmmc@107000 {
79 status = "disabled";
80 compatible = "lantiq,vmmc-xway";
81 reg = <0x103000 0x400>;
82 interrupt-parent = <&icu0>;
83 interrupts = <150 151 152 153 154 155>;
84 };
85
86 rcu0: rcu@203000 {
87 compatible = "lantiq,rcu-xway";
88 reg = <0x203000 0x1000>;
89 };
90 };
91
92 fpi@10000000 {
93 #address-cells = <1>;
94 #size-cells = <1>;
95 compatible = "lantiq,fpi", "simple-bus";
96 ranges = <0x0 0x10000000 0xEEFFFFF>;
97 reg = <0x10000000 0xEF00000>;
98
99 localbus@0 {
100 #address-cells = <2>;
101 #size-cells = <1>;
102 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
103 1 0 0x4000000 0x4000010>; /* addsel1 */
104 compatible = "lantiq,localbus", "simple-bus";
105 };
106
107 gptu@E100A00 {
108 compatible = "lantiq,gptu-xway";
109 reg = <0xE100A00 0x100>;
110 interrupt-parent = <&icu0>;
111 interrupts = <126 127 128 129 130 131>;
112 };
113
114 gpios: stp@E100BB0 {
115 #gpio-cells = <2>;
116 compatible = "lantiq,gpio-stp-xway";
117 gpio-controller;
118 reg = <0xE100BB0 0x40>;
119 lantiq,shadow = <0xfff>;
120 lantiq,groups = <0x3>;
121 status = "disabled";
122 };
123
124 asc0: serial@E100400 {
125 compatible = "lantiq,asc";
126 reg = <0xE100400 0x400>;
127 interrupt-parent = <&icu0>;
128 interrupts = <104 105 106>;
129 status = "disabled";
130 };
131
132 gpio: pinmux@E100B10 {
133 compatible = "lantiq,danube-pinctrl";
134 #gpio-cells = <2>;
135 gpio-controller;
136 reg = <0xE100B10 0xA0>;
137 };
138
139 asc1: serial@E100C00 {
140 compatible = "lantiq,asc";
141 reg = <0xE100C00 0x400>;
142 interrupt-parent = <&icu0>;
143 interrupts = <112 113 114>;
144 };
145
146 ifxhcd@E101000 {
147 compatible = "lantiq,ifxhcd-danube-dwc2", "lantiq,ifxhcd-danube";
148 reg = <0xE101000 0x1000
149 0xE120000 0x3f000>;
150 interrupt-parent = <&icu0>;
151 interrupts = <62>;
152 dr_mode = "host";
153 status = "disabled";
154 };
155
156 deu@E103100 {
157 compatible = "lantiq,deu-danube";
158 reg = <0xE103100 0xf00>;
159 };
160
161 dma0: dma@E104100 {
162 compatible = "lantiq,dma-xway";
163 reg = <0xE104100 0x800>;
164 };
165
166 ebu0: ebu@E105300 {
167 compatible = "lantiq,ebu-xway";
168 reg = <0xE105300 0x100>;
169 };
170
171 mei@E116000 {
172 compatible = "lantiq,mei-xway";
173 interrupt-parent = <&icu0>;
174 interrupts = <63>;
175 };
176
177 etop@E180000 {
178 compatible = "lantiq,etop-xway";
179 reg = <0xE180000 0x40000>;
180 interrupt-parent = <&icu0>;
181 interrupts = <73 78>;
182 mac-address = [ 00 11 22 33 44 55 ];
183 };
184
185 ppe@E234000 {
186 compatible = "lantiq,ppe-danube";
187 interrupt-parent = <&icu0>;
188 interrupts = <96>;
189 };
190
191 pci0: pci@E105400 {
192 status = "disabled";
193
194 #address-cells = <3>;
195 #size-cells = <2>;
196 #interrupt-cells = <1>;
197 compatible = "lantiq,pci-xway";
198 bus-range = <0x0 0x0>;
199 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
200 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
201 reg = <0x7000000 0x8000 /* config space */
202 0xE105400 0x400>; /* pci bridge */
203 lantiq,bus-clock = <33333333>;
204 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
205 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
206 req-mask = <0x1>; /* GNT1 */
207 };
208 };
209
210 adsl {
211 compatible = "lantiq,adsl-danube";
212 };
213 };