arm64: dts: rk3399: add iep device node
authorJung Zhao <jung.zhao@rock-chips.com>
Thu, 30 Mar 2017 03:15:44 +0000 (03:15 +0000)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 31 Mar 2017 09:15:44 +0000 (17:15 +0800)
Change-Id: I725d4668fd5fa29f94055d8ce36b81bcd29c2d52
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 312840d480c8fc9567b284a4b7d6ff4e5cd8f9a1..0c3ded81b1233f299921c76fa487846d9b7ca92a 100644 (file)
                #iommu-cells = <0>;
        };
 
+       iep: iep@ff670000 {
+               compatible = "rockchip,iep";
+               iommu_enabled = <1>;
+               iommus = <&iep_mmu>;
+               reg = <0x0 0xff670000 0x0 0x800>;
+               interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH 0>;
+               clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
+               clock-names = "aclk_iep", "hclk_iep";
+               power-domains = <&power RK3399_PD_IEP>;
+               allocator = <1>;
+               version = <2>;
+               status = "disabled";
+       };
+
+       iep_mmu: iommu@ff670800 {
+               compatible = "rockchip,iommu";
+               reg = <0x0 0xff670800 0x0 0x40>;
+               interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH 0>;
+               interrupt-names = "iep_mmu";
+               #iommu-cells = <0>;
+               status = "disabled";
+       };
+
        rga: rga@ff680000 {
                compatible = "rockchip,rk3399-rga";
                reg = <0x0 0xff680000 0x0 0x10000>;