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