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