diff --git a/soc/arm/qemu_cortex_a53/mmu_regions.c b/soc/arm/qemu_cortex_a53/mmu_regions.c index 52413f6736e..e362738ec60 100644 --- a/soc/arm/qemu_cortex_a53/mmu_regions.c +++ b/soc/arm/qemu_cortex_a53/mmu_regions.c @@ -12,13 +12,13 @@ static const struct arm_mmu_region mmu_regions[] = { MMU_REGION_FLAT_ENTRY("GIC", - DT_INST_0_ARM_GIC_BASE_ADDRESS_0, - DT_INST_0_ARM_GIC_SIZE_0 * 2, + DT_REG_ADDR_BY_IDX(DT_INST(0, arm_gic), 0), + DT_REG_SIZE_BY_IDX(DT_INST(0, arm_gic), 0) * 2, MT_DEVICE_nGnRnE | MT_RW | MT_SECURE), MMU_REGION_FLAT_ENTRY("UART", - DT_INST_0_ARM_PL011_BASE_ADDRESS, - DT_INST_0_ARM_PL011_SIZE, + DT_REG_ADDR(DT_INST(0, arm_pl011)), + DT_REG_SIZE(DT_INST(0, arm_pl011)), MT_DEVICE_nGnRnE | MT_RW | MT_SECURE), MMU_REGION_FLAT_ENTRY("SRAM",