Skip to content

Commit 5150079

Browse files
buluessjayxurockchip
authored andcommitted
arm: dts: rk3288: add iep node and enable it
Change-Id: Ie7fe0bbc91a5fedb0617d9b6c6056bdb4aed610d Signed-off-by: buluess.li <buluess.li@rock-chips.com>
1 parent cb76f82 commit 5150079

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

arch/arm/boot/dts/rk3288-android.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,14 @@
288288
compatible = "rockchip,rk3288-secure-efuse";
289289
};
290290

291+
&iep {
292+
status = "okay";
293+
};
294+
295+
&iep_mmu {
296+
status = "okay";
297+
};
298+
291299
&rga {
292300
compatible = "rockchip,rga2";
293301
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;

arch/arm/boot/dts/rk3288.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,29 @@
10591059
status = "disabled";
10601060
};
10611061

1062+
iep: iep@ff90000 {
1063+
compatible = "rockchip,iep";
1064+
iommu_enabled = <1>;
1065+
iommus = <&iep_mmu>;
1066+
reg = <0x0 0xff900000 0x0 0x800>;
1067+
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>;
1068+
clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
1069+
clock-names = "aclk_iep", "hclk_iep";
1070+
power-domains = <&power RK3288_PD_VIO>;
1071+
allocator = <1>;
1072+
version = <1>;
1073+
status = "disabled";
1074+
};
1075+
1076+
iep_mmu: iommu@ff900800 {
1077+
compatible = "rockchip,iommu";
1078+
reg = <0x0 0xff900800 0x0 0x40>;
1079+
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>;
1080+
interrupt-names = "iep_mmu";
1081+
#iommu-cells = <0>;
1082+
status = "disabled";
1083+
};
1084+
10621085
cif_isp0: cif_isp@ff910000 {
10631086
compatible = "rockchip,rk3288-cif-isp";
10641087
rockchip,grf = <&grf>;

0 commit comments

Comments
 (0)