summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos4210-universal_c210.dts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-04-15 21:05:10 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2019-04-24 20:53:49 +0300
commit0fd5ff9e4cf4469911856d4e48b513e87cd4f279 (patch)
tree903000bd29b8203a0d0858929b2cbdc4b9de83e8 /arch/arm/boot/dts/exynos4210-universal_c210.dts
parent1e440c223503c24959fcccb96c2b0e775a6b3bb9 (diff)
downloadlinux-0fd5ff9e4cf4469911856d4e48b513e87cd4f279.tar.xz
ARM: dts: exynos: Properly override node to use MDMA0 on Universal C210
The Universal C210 (Exynos4210) uses the secure interface of MDMA0, instead of regular one - non-secure MDMA1. DTS was overriding MDMA1 node address which caused DTC W=1 warning: arch/arm/boot/dts/exynos4.dtsi:707.25-716.6: Warning (simple_bus_reg): /soc/amba/mdma@12850000: simple-bus unit address format error, expected "12840000" Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4210-universal_c210.dts')
-rw-r--r--arch/arm/boot/dts/exynos4210-universal_c210.dts17
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
index 07d64a8f82e3..bf092e97e14f 100644
--- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
@@ -177,6 +177,20 @@
};
};
+&amba {
+ mdma0: mdma@12840000 {
+ compatible = "arm,pl330", "arm,primecell";
+ reg = <0x12840000 0x1000>;
+ interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clock CLK_MDMA>;
+ clock-names = "apb_pclk";
+ #dma-cells = <1>;
+ #dma-channels = <8>;
+ #dma-requests = <1>;
+ power-domains = <&pd_lcd0>;
+ };
+};
+
&camera {
status = "okay";
@@ -491,7 +505,8 @@
};
&mdma1 {
- reg = <0x12840000 0x1000>;
+ /* Use the secure mdma0 */
+ status = "disabled";
};
&mixer {