From: buluess.li Date: Tue, 27 Jun 2017 03:38:48 +0000 (+0800) Subject: arm: dts: rk3288: add iep node and enable it X-Git-Tag: release-20171130_firefly~4^2~292 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5150079e68796e1507bb1b9cdb09cc1a244775c8;p=firefly-linux-kernel-4.4.55.git arm: dts: rk3288: add iep node and enable it Change-Id: Ie7fe0bbc91a5fedb0617d9b6c6056bdb4aed610d Signed-off-by: buluess.li --- diff --git a/arch/arm/boot/dts/rk3288-android.dtsi b/arch/arm/boot/dts/rk3288-android.dtsi index 9fddfe72bc2b..d3a3ebb467f2 100644 --- a/arch/arm/boot/dts/rk3288-android.dtsi +++ b/arch/arm/boot/dts/rk3288-android.dtsi @@ -288,6 +288,14 @@ compatible = "rockchip,rk3288-secure-efuse"; }; +&iep { + status = "okay"; +}; + +&iep_mmu { + status = "okay"; +}; + &rga { compatible = "rockchip,rga2"; clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>; diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 88979ebdd380..49aa2f06033e 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1059,6 +1059,29 @@ status = "disabled"; }; + iep: iep@ff90000 { + compatible = "rockchip,iep"; + iommu_enabled = <1>; + iommus = <&iep_mmu>; + reg = <0x0 0xff900000 0x0 0x800>; + interrupts = ; + clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>; + clock-names = "aclk_iep", "hclk_iep"; + power-domains = <&power RK3288_PD_VIO>; + allocator = <1>; + version = <1>; + status = "disabled"; + }; + + iep_mmu: iommu@ff900800 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff900800 0x0 0x40>; + interrupts = ; + interrupt-names = "iep_mmu"; + #iommu-cells = <0>; + status = "disabled"; + }; + cif_isp0: cif_isp@ff910000 { compatible = "rockchip,rk3288-cif-isp"; rockchip,grf = <&grf>;