hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/arm/boot/dts/integratorap.dts
....@@ -4,12 +4,13 @@
44 */
55
66 /dts-v1/;
7
-/include/ "integrator.dtsi"
7
+#include "integrator.dtsi"
8
+#include <dt-bindings/gpio/gpio.h>
9
+#include <dt-bindings/input/input.h>
810
911 / {
1012 model = "ARM Integrator/AP";
1113 compatible = "arm,integrator-ap";
12
- dma-ranges = <0x80000000 0x0 0x80000000>;
1314
1415 cpus {
1516 #address-cells = <1>;
....@@ -108,9 +109,6 @@
108109 syscon {
109110 compatible = "arm,integrator-ap-syscon", "syscon";
110111 reg = <0x11000000 0x100>;
111
- interrupt-parent = <&pic>;
112
- /* These are the logical module IRQs */
113
- interrupts = <9>, <10>, <11>, <12>;
114112
115113 /*
116114 * SYSCLK clocks PCIv3 bridge, system controller and the
....@@ -155,6 +153,7 @@
155153
156154 pci: pciv3@62000000 {
157155 compatible = "arm,integrator-ap-pci", "v3,v360epc-pci";
156
+ device_type = "pci";
158157 #interrupt-cells = <1>;
159158 #size-cells = <2>;
160159 #address-cells = <3>;
....@@ -240,4 +239,50 @@
240239 clock-names = "KMIREFCLK", "apb_pclk";
241240 };
242241 };
242
+
243
+ /*
244
+ * Logic module bus, we support up to 4 logical modules
245
+ * They appear at 0xc0000000, 0xd0000000, 0xe0000000 and 0xf0000000
246
+ * and use interrupts 9, 10, 11 and 12 respectively.
247
+ */
248
+ bus@c0000000 {
249
+ compatible = "arm,integrator-ap-lm";
250
+ #address-cells = <1>;
251
+ #size-cells = <1>;
252
+ ranges = <0xc0000000 0xc0000000 0x40000000>;
253
+ dma-ranges;
254
+
255
+ lm0: bus@c0000000 {
256
+ compatible = "simple-bus";
257
+ ranges = <0x00000000 0xc0000000 0x10000000>;
258
+ dma-ranges = <0x00000000 0x80000000 0x10000000>;
259
+ reg = <0xc0000000 0x10000000>;
260
+ #address-cells = <1>;
261
+ #size-cells = <1>;
262
+ };
263
+ lm1: bus@d0000000 {
264
+ compatible = "simple-bus";
265
+ ranges = <0x00000000 0xd0000000 0x10000000>;
266
+ dma-ranges = <0x00000000 0x80000000 0x10000000>;
267
+ reg = <0xd0000000 0x10000000>;
268
+ #address-cells = <1>;
269
+ #size-cells = <1>;
270
+ };
271
+ lm2: bus@e0000000 {
272
+ compatible = "simple-bus";
273
+ ranges = <0x00000000 0xe0000000 0x10000000>;
274
+ dma-ranges = <0x00000000 0x80000000 0x10000000>;
275
+ reg = <0xe0000000 0x10000000>;
276
+ #address-cells = <1>;
277
+ #size-cells = <1>;
278
+ };
279
+ lm3: bus@f0000000 {
280
+ compatible = "simple-bus";
281
+ ranges = <0x00000000 0xf0000000 0x10000000>;
282
+ dma-ranges = <0x00000000 0x80000000 0x10000000>;
283
+ reg = <0xf0000000 0x10000000>;
284
+ #address-cells = <1>;
285
+ #size-cells = <1>;
286
+ };
287
+ };
243288 };