lantiq: use new property name for eiu irqs
[openwrt/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", "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 lantiq,eiu-irqs = <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 spi: spi@E100800 {
104 compatible = "lantiq,xrx100-spi";
105 reg = <0xE100800 0x100>;
106 interrupt-parent = <&icu0>;
107 interrupts = <22 23 24>;
108 interrupt-names = "spi_rx", "spi_tx", "spi_err",
109 "spi_frm";
110 #address-cells = <1>;
111 #size-cells = <1>;
112 status = "disabled";
113 };
114
115 gpio: pinmux@E100B10 {
116 compatible = "lantiq,xrx100-pinctrl";
117 #gpio-cells = <2>;
118 gpio-controller;
119 reg = <0xE100B10 0xA0>;
120 };
121
122 asc1: serial@E100C00 {
123 compatible = "lantiq,asc";
124 reg = <0xE100C00 0x400>;
125 interrupt-parent = <&icu0>;
126 interrupts = <112 113 114>;
127 };
128
129 ifxhcd@E101000 {
130 compatible = "lantiq,ifxhcd-arx100", "lantiq,ifxhcd-arx100-dwc2";
131 reg = <0xE101000 0x1000
132 0xE120000 0x3f000>;
133 interrupt-parent = <&icu0>;
134 interrupts = <62 91>;
135 status = "disabled";
136 };
137
138 ifxhcd@E106000 {
139 compatible = "lantiq,ifxhcd-arx100-dwc2";
140 reg = <0xE106000 0x1000
141 0xE1E0000 0x3f000>;
142 interrupt-parent = <&icu0>;
143 interrupts = <91>;
144 status = "disabled";
145 };
146
147 deu@E103100 {
148 compatible = "lantiq,deu-arx100";
149 reg = <0xE103100 0xf00>;
150 };
151
152 dma0: dma@E104100 {
153 compatible = "lantiq,dma-xway";
154 reg = <0xE104100 0x800>;
155 };
156
157 ebu0: ebu@E105300 {
158 compatible = "lantiq,ebu-xway";
159 reg = <0xE105300 0x100>;
160 };
161
162 mei@E116000 {
163 compatible = "lantiq,mei-xway";
164 interrupt-parent = <&icu0>;
165 interrupts = <63>;
166 };
167
168 etop@E180000 {
169 compatible = "lantiq,etop-xway";
170 reg = <0xE180000 0x40000
171 0xE108000 0x200>;
172 interrupt-parent = <&icu0>;
173 interrupts = <73 72>;
174 mac-address = [ 00 11 22 33 44 55 ];
175 };
176
177 ppe@E234000 {
178 compatible = "lantiq,ppe-arx100";
179 interrupt-parent = <&icu0>;
180 interrupts = <96>;
181 };
182
183 pci0: pci@E105400 {
184 status = "disabled";
185 #address-cells = <3>;
186 #size-cells = <2>;
187 #interrupt-cells = <1>;
188 compatible = "lantiq,pci-xway";
189 bus-range = <0x0 0x0>;
190 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
191 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
192 reg = <0x7000000 0x8000 /* config space */
193 0xE105400 0x400>; /* pci bridge */
194 lantiq,bus-clock = <33333333>;
195 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
196 interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
197 req-mask = <0x1>;
198 };
199 };
200
201 adsl {
202 compatible = "lantiq,adsl-arx100";
203 };
204 };