Skip to content

Commit

Permalink
dts: xilinx_zynqmp: Fix incorrect RPU device tree specification.
Browse files Browse the repository at this point in the history
This commit fixes the following problems with the RPU device tree:

1. The core type of the RPU of ZynqMP SoC is Cortex-R5F, not
  Cortex-R4.

2. RPU and APU use different interrupt controllers (PL390 GICv1 and
  GIC-400 GICv2, respectively) mapped to the same CPU local bus address
  region but with different offsets for the distributor and CPU
  interrupt control register sets. The GIC address mapping specified by
  the current dts is that of an APU and does not apply to the PL390
  GICv1 of an RPU (refer to the "Zynq UltraScale+ Devices Register
  Reference" document from Xilinx for more information).

For more details, refer to the issue zephyrproject-rtos#20217.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed Dec 20, 2019
1 parent 3fb288d commit 45c0de0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dts/arm/xilinx/zynqmp_rpu.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@

cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-r4";
compatible = "arm,cortex-r5f";
reg = <0>;
};
};

soc {
interrupt-parent = <&gic>;

gic: interrupt-controller@f9010000 {
gic: interrupt-controller@f9000000 {
compatible = "arm,gic";
reg = <0xf9010000 0x1000>,
<0xf9020000 0x100>;
reg = <0xf9000000 0x1000>,
<0xf9001000 0x100>;
interrupt-controller;
#interrupt-cells = <4>;
label = "GIC";
Expand Down

0 comments on commit 45c0de0

Please sign in to comment.