aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHai Nguyen Pham <hai.pham.ud@renesas.com>2018-03-12 18:47:32 +0900
committerRyo Kataoka <ryo.kataoka.wt@renesas.com>2018-12-07 19:57:07 +0900
commite3b59c74c58e010624be530cc76a1ce1d4c0ab9f (patch)
tree23da1e9a9b6a815be528f4fe895c4062e5f58faa
parentedc0cc60fc555c7c4d8a5498515e0e28e757517d (diff)
downloadrenesas-bsp-e3b59c74c58e010624be530cc76a1ce1d4c0ab9f.tar.gz
arm64: dts: r8a7796: Change IPMMU-MM and IPMMU-caches order in DT
In current implementation, IPMMU-caches will defer probe for waiting IPMMU-MM by returning -EPROBE_DEFER. However, it leads to other driver, e.g. DMAC, which rely on IPMMU-caches to setup its configuration, defer probe as well. As a workaround for this issue, reorder IPMMU-MM and IPMMU-caches in DT in order to make IPMMU-MM probe first since current driver only parses DT info when setting up IPMMU domain. Signed-off-by: Hai Nguyen Pham <hai.pham.ud@renesas.com> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
-rw-r--r--arch/arm64/boot/dts/renesas/r8a7796.dtsi20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 40e8c16f42d74..0abc426faa302 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1421,6 +1421,16 @@
<&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
};
+ ipmmu_mm: mmu@e67b0000 {
+ compatible = "renesas,ipmmu-r8a7796";
+ reg = <0 0xe67b0000 0 0x1000>;
+ interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ status = "disabled";
+ };
+
ipmmu_ds0: mmu@e6740000 {
compatible = "renesas,ipmmu-r8a7796";
reg = <0 0xe6740000 0 0x1000>;
@@ -1457,16 +1467,6 @@
status = "disabled";
};
- ipmmu_mm: mmu@e67b0000 {
- compatible = "renesas,ipmmu-r8a7796";
- reg = <0 0xe67b0000 0 0x1000>;
- interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
- power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
- #iommu-cells = <1>;
- status = "disabled";
- };
-
ipmmu_mp: mmu@ec670000 {
compatible = "renesas,ipmmu-r8a7796";
reg = <0 0xec670000 0 0x1000>;