lantiq: add 3.18 support
[openwrt.git] / target / linux / lantiq / dts / ar9.dtsi
1 / {
2         #address-cells = <1>;
3         #size-cells = <1>;
4         compatible = "lantiq,xway", "lantiq,ar9";
5
6         cpus {
7                 cpu@0 {
8                         compatible = "mips,mips34K";
9                 };
10         };
11
12         memory@0 {
13                 device_type = "memory";
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";
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 40 41 42>;
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                 rcu0: rcu@203000 {
68                         compatible = "lantiq,rcu-xway";
69                         reg = <0x203000 0x1000>;
70                 };
71         };
72
73         fpi@10000000 {
74                 #address-cells = <1>;
75                 #size-cells = <1>;
76                 compatible = "lantiq,fpi", "simple-bus";
77                 ranges = <0x0 0x10000000 0xEEFFFFF>;
78                 reg = <0x10000000 0xEF00000>;
79
80                 localbus@0 {
81                         #address-cells = <2>;
82                         #size-cells = <1>;
83                         ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
84                                 1 0 0x4000000 0x4000010>; /* addsel1 */
85                         compatible = "lantiq,localbus", "simple-bus";
86                 };
87
88                 gptu@E100A00 {
89                         compatible = "lantiq,gptu-xway";
90                         reg = <0xE100A00 0x100>;
91                         interrupt-parent = <&icu0>;
92                         interrupts = <126 127 128 129 130 131>;
93                 };
94
95                 asc0: serial@E100400 {
96                         compatible = "lantiq,asc";
97                         reg = <0xE100400 0x400>;
98                         interrupt-parent = <&icu0>;
99                         interrupts = <104 105 106>;
100                         status = "disabled";
101                 };
102
103                 gpio: pinmux@E100B10 {
104                         compatible = "lantiq,pinctrl-xr9";
105                         #gpio-cells = <2>;
106                         gpio-controller;
107                         reg = <0xE100B10 0xA0>;
108                 };
109
110                 asc1: serial@E100C00 {
111                         compatible = "lantiq,asc";
112                         reg = <0xE100C00 0x400>;
113                         interrupt-parent = <&icu0>;
114                         interrupts = <112 113 114>;
115                 };
116
117                 ifxhcd@E101000 {
118                         compatible = "lantiq,ifxhcd-arx100";
119                         reg = <0xE101000 0x1000
120                                 0xE120000 0x3f000>;
121                         interrupt-parent = <&icu0>;
122                         interrupts = <62 91>;
123                         status = "disabled";
124                 };
125
126                 deu@E103100 {
127                         compatible = "lantiq,deu-arx100";
128                         reg = <0xE103100 0xf00>;
129                 };
130
131                 dma0: dma@E104100 {
132                         compatible = "lantiq,dma-xway";
133                         reg = <0xE104100 0x800>;
134                 };
135
136                 ebu0: ebu@E105300 {
137                         compatible = "lantiq,ebu-xway";
138                         reg = <0xE105300 0x100>;
139                 };
140
141                 mei@E116000 {
142                         compatible = "lantiq,mei-xway";
143                         interrupt-parent = <&icu0>;
144                         interrupts = <63>;
145                 };
146
147                 etop@E180000 {
148                         compatible = "lantiq,etop-xway";
149                         reg = <0xE180000 0x40000
150                                 0xE108000 0x200>;
151                         interrupt-parent = <&icu0>;
152                         interrupts = <73 72>;
153                         mac-address = [ 00 11 22 33 44 55 ];
154                 };
155
156                 ppe@E234000 {
157                         compatible = "lantiq,ppe-arx100";
158                         interrupt-parent = <&icu0>;
159                         interrupts = <96>;
160                 };
161
162                 pci0: pci@E105400 {
163                         status = "disabled";
164                         #address-cells = <3>;
165                         #size-cells = <2>;
166                         #interrupt-cells = <1>;
167                         compatible = "lantiq,pci-xway";
168                         bus-range = <0x0 0x0>;
169                         ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000   /* pci memory */
170                                   0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
171                         reg = <0x7000000 0x8000         /* config space */
172                                 0xE105400 0x400>;       /* pci bridge */
173                         lantiq,bus-clock = <33333333>;
174                         interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
175                         interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
176                         req-mask = <0x1>;
177                 };
178         };
179
180         adsl {
181                 compatible = "lantiq,adsl-arx100";
182         };
183 };