soc: xlnx: zynq7000: remove PS GPIO controller's static memory mapping

Remove the PS GPIO controller's static MMU region entry from the
mmu_regions table for both the XC7Zxxx and XC7ZxxxS variants of the
Zynq 7000.

The PS GPIO controller's device driver has been switched over to
using a named DEVICE_MMIO mapping.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
This commit is contained in:
Immo Birnbaum 2024-09-10 23:12:32 +02:00 committed by Benjamin Cabé
commit d789f339ef
2 changed files with 0 additions and 16 deletions

View file

@ -52,14 +52,6 @@ static const struct arm_mmu_region mmu_regions[] = {
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W), MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
#endif #endif
/* GPIO controller */
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(psgpio))
MMU_REGION_FLAT_ENTRY("psgpio",
DT_REG_ADDR(DT_NODELABEL(psgpio)),
DT_REG_SIZE(DT_NODELABEL(psgpio)),
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
#endif
DT_FOREACH_STATUS_OKAY(xlnx_xps_gpio_1_00_a, AXI_GPIO_MMU_ENTRY) DT_FOREACH_STATUS_OKAY(xlnx_xps_gpio_1_00_a, AXI_GPIO_MMU_ENTRY)
}; };

View file

@ -52,14 +52,6 @@ static const struct arm_mmu_region mmu_regions[] = {
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W), MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
#endif #endif
/* GPIO controller */
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(psgpio))
MMU_REGION_FLAT_ENTRY("psgpio",
DT_REG_ADDR(DT_NODELABEL(psgpio)),
DT_REG_SIZE(DT_NODELABEL(psgpio)),
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
#endif
DT_FOREACH_STATUS_OKAY(xlnx_xps_gpio_1_00_a, AXI_GPIO_MMU_ENTRY) DT_FOREACH_STATUS_OKAY(xlnx_xps_gpio_1_00_a, AXI_GPIO_MMU_ENTRY)
}; };