lantiq: Add the SPI node to ar9.dtsi and vr9.dtsi
[openwrt/openwrt.git] / target / linux / lantiq / dts / vr9.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "lantiq,xway", "lantiq,vr9";
5
6 cpus {
7 cpu@0 {
8 compatible = "mips,mips34Kc";
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 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 };
65
66 dcdc@106a00 {
67 compatible = "lantiq,dcdc-xrx200";
68 reg = <0x106a00 0x200>;
69 };
70
71 rcu0: rcu@203000 {
72 compatible = "lantiq,rcu-xrx200";
73 reg = <0x203000 0x1000>;
74 /* irq for thermal sensor */
75 interrupt-parent = <&icu0>;
76 interrupts = <115>;
77 };
78
79 xbar0: xbar@400000 {
80 compatible = "lantiq,xbar-xway";
81 reg = <0x400000 0x1000>;
82 };
83 };
84
85 fpi@10000000 {
86 #address-cells = <1>;
87 #size-cells = <1>;
88 compatible = "lantiq,fpi", "simple-bus";
89 ranges = <0x0 0x10000000 0xEEFFFFF>;
90 reg = <0x10000000 0xEF00000>;
91
92 localbus@0 {
93 #address-cells = <2>;
94 #size-cells = <1>;
95 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
96 1 0 0x4000000 0x4000010>; /* addsel1 */
97 compatible = "lantiq,localbus", "simple-bus";
98 };
99
100 gptu@E100A00 {
101 compatible = "lantiq,gptu-xway";
102 reg = <0xE100A00 0x100>;
103 interrupt-parent = <&icu0>;
104 interrupts = <126 127 128 129 130 131>;
105 };
106
107 asc0: serial@E100400 {
108 compatible = "lantiq,asc";
109 reg = <0xE100400 0x400>;
110 interrupt-parent = <&icu0>;
111 interrupts = <104 105 106>;
112 status = "disabled";
113 };
114
115 spi: spi@E100800 {
116 compatible = "lantiq,spi-xway";
117 reg = <0xE100800 0x100>;
118 interrupt-parent = <&icu0>;
119 interrupts = <22 23 24>;
120 #address-cells = <1>;
121 #size-cells = <1>;
122 status = "disabled";
123 };
124
125 gpio: pinmux@E100B10 {
126 compatible = "lantiq,xrx200-pinctrl";
127 #gpio-cells = <2>;
128 gpio-controller;
129 reg = <0xE100B10 0xA0>;
130 };
131
132 asc1: serial@E100C00 {
133 compatible = "lantiq,asc";
134 reg = <0xE100C00 0x400>;
135 interrupt-parent = <&icu0>;
136 interrupts = <112 113 114>;
137 };
138
139 deu@E103100 {
140 compatible = "lantiq,deu-xrx200";
141 reg = <0xE103100 0xf00>;
142 };
143
144 dma0: dma@E104100 {
145 compatible = "lantiq,dma-xway";
146 reg = <0xE104100 0x800>;
147 };
148
149 ebu0: ebu@E105300 {
150 compatible = "lantiq,ebu-xway";
151 reg = <0xE105300 0x100>;
152 };
153
154 ifxhcd@E101000 {
155 status = "disabled";
156 compatible = "lantiq,ifxhcd-xrx200", "lantiq,ifxhcd-xrx200-dwc2";
157 reg = <0xE101000 0x1000
158 0xE120000 0x3f000>;
159 interrupt-parent = <&icu0>;
160 interrupts = <62 91>;
161 };
162
163 ifxhcd@E106000 {
164 status = "disabled";
165 compatible = "lantiq,ifxhcd-xrx200-dwc2";
166 reg = <0xE106000 0x1000>;
167 interrupt-parent = <&icu0>;
168 interrupts = <91>;
169 };
170
171 mei@E116000 {
172 compatible = "lantiq,mei-xrx200";
173 reg = <0xE116000 0x9c>;
174 interrupt-parent = <&icu0>;
175 interrupts = <63>;
176 };
177
178 ppe@E234000 {
179 compatible = "lantiq,ppe-xrx200";
180 interrupt-parent = <&icu0>;
181 interrupts = <96>;
182 };
183
184 pcie@d900000 {
185 interrupt-parent = <&icu0>;
186 interrupts = <161 144>;
187 compatible = "lantiq,pcie-xrx200";
188 gpio-reset = <&gpio 38 0>;
189 };
190
191 pci0: pci@E105400 {
192 #address-cells = <3>;
193 #size-cells = <2>;
194 #interrupt-cells = <1>;
195 compatible = "lantiq,pci-xway";
196 bus-range = <0x0 0x0>;
197 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
198 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
199 reg = <0x7000000 0x8000 /* config space */
200 0xE105400 0x400>; /* pci bridge */
201 status = "disabled";
202 };
203 };
204
205 vdsl {
206 compatible = "lantiq,vdsl-vrx200";
207 };
208 };