From 1be1f0124e5fef8d46fb177bfb2354318eb042f2 Mon Sep 17 00:00:00 2001 From: Xinhuang Li Date: Tue, 23 Jan 2018 11:43:45 +0800 Subject: [PATCH] ARM: dts: rk322x: add iep and iep_mmu node Change-Id: I023fd9ca35c605f36555d8e7a4499c59b2573e0c Signed-off-by: Xinhuang Li --- arch/arm/boot/dts/rk322x.dtsi | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 0883542c8e8a..8efaaf3d72c9 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -716,22 +716,33 @@ status = "disabled"; }; - display-subsystem { - compatible = "rockchip,display-subsystem"; - ports = <&vop_out>; + iep: iep@20070000 { + compatible = "rockchip,iep"; + iommu_enabled = <1>; + iommus = <&iep_mmu>; + reg = <0x20070000 0x800>; + interrupts = ; + clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>; + clock-names = "aclk_iep", "hclk_iep"; + version = <3>; + allocator = <1>; + status = "disabled"; }; iep_mmu: iommu@20070800 { compatible = "rockchip,iommu"; - reg = <0x20070800 0x100>; + reg = <0x20070800 0x40>; interrupts = ; interrupt-names = "iep_mmu"; - clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>; - clock-names = "aclk", "iface"; - iommu-cells = <0>; + #iommu-cells = <0>; status = "disabled"; }; + display-subsystem { + compatible = "rockchip,display-subsystem"; + ports = <&vop_out>; + }; + hdmi: hdmi@200a0000 { compatible = "rockchip,rk3228-dw-hdmi"; reg = <0x200a0000 0x20000>;