Skip to content

Commit 5611139

Browse files
donghuaweilinmineswincomputing
authored andcommitted
feat: vpu7702 smmu cfg modify
Changelogs: smmu cfg dts, dma-ranges modify iova size for support large iova Signed-off-by: donghuawei <donghuawei@eswincomputing.com>
1 parent 15243d3 commit 5611139

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arch/riscv/boot/dts/eswin/eic7700-vpu7702.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,13 @@
184184
memory-region = <&ipcm_vdev0vring0>,<&ipcm_vdev0vring1>,<&ipcm_vdev0buffer>;
185185
interrupt-parent = <&plic0>;
186186
interrupts = <119>;
187+
smmu_dev = <&smmu_cfg_0>;
187188
};
188189

189190
dev_smmu_cfg: smmu_cfg@0 {
190191
compatible = "eswin,vpu7702_dev_smmu_cfg";
191192
#size-cells = <2>;
192-
dma-ranges = <0x0 0x20000000 0x0 0xc0000000 0x0 0x40000000>;
193+
dma-ranges = <0x0 0x20000000 0x0 0xc0000000 0x0 0xc0000000>;
193194
iommus = <&smmu0 WIN2030_SID_DEV_FOO_B>;
194195
iommu-map = <0x000000 &smmu0 0xff0000 0xffffff>;
195196
tbus = <WIN2030_TBUID_PCIE>;

0 commit comments

Comments
 (0)