|
@@ -141,14 +141,19 @@ can be used to obtain required phandle in the tile's "aliases" node:
|
|
|
- SP804 timers:
|
|
|
v2m_timer01 and v2m_timer23
|
|
|
|
|
|
-Current Linux implementation requires a "arm,v2m_timer" alias
|
|
|
-pointing at one of the motherboard's SP804 timers, if it is to be
|
|
|
-used as the system timer. This alias should be defined in the
|
|
|
-motherboard files.
|
|
|
-
|
|
|
-The tile description must define "ranges", "interrupt-map-mask" and
|
|
|
-"interrupt-map" properties to translate the motherboard's address
|
|
|
-and interrupt space into one used by the tile's processor.
|
|
|
+The tile description should define a "smb" node, describing the
|
|
|
+Static Memory Bus between the tile and motherboard. It must define
|
|
|
+the following properties:
|
|
|
+- "simple-bus" compatible value (to ensure creation of the children)
|
|
|
+ compatible = "simple-bus";
|
|
|
+- mapping of the SMB CS/offset addresses into main address space:
|
|
|
+ #address-cells = <2>;
|
|
|
+ #size-cells = <1>;
|
|
|
+ ranges = <...>;
|
|
|
+- interrupts mapping:
|
|
|
+ #interrupt-cells = <1>;
|
|
|
+ interrupt-map-mask = <0 0 63>;
|
|
|
+ interrupt-map = <...>;
|
|
|
|
|
|
|
|
|
Example of a VE tile description (simplified)
|
|
@@ -200,13 +205,20 @@ Example of a VE tile description (simplified)
|
|
|
};
|
|
|
};
|
|
|
|
|
|
- motherboard {
|
|
|
+ smb {
|
|
|
+ compatible = "simple-bus";
|
|
|
+
|
|
|
+ #address-cells = <2>;
|
|
|
+ #size-cells = <1>;
|
|
|
/* CS0 is visible at 0x08000000 */
|
|
|
ranges = <0 0 0x08000000 0x04000000>;
|
|
|
+
|
|
|
+ #interrupt-cells = <1>;
|
|
|
interrupt-map-mask = <0 0 63>;
|
|
|
/* Active high IRQ 0 is connected to GIC's SPI0 */
|
|
|
interrupt-map = <0 0 0 &gic 0 0 4>;
|
|
|
+
|
|
|
+ /include/ "vexpress-v2m-rs1.dtsi"
|
|
|
};
|
|
|
};
|
|
|
|
|
|
-/include/ "vexpress-v2m-rs1.dtsi"
|