Skip to content

Commit d789f33

Browse files
ibirnbaumkartben
authored andcommitted
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 <[email protected]>
1 parent fef27d8 commit d789f33

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

soc/xlnx/zynq7000/xc7zxxx/soc.c

-8
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@ static const struct arm_mmu_region mmu_regions[] = {
5252
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
5353
#endif
5454

55-
/* GPIO controller */
56-
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(psgpio))
57-
MMU_REGION_FLAT_ENTRY("psgpio",
58-
DT_REG_ADDR(DT_NODELABEL(psgpio)),
59-
DT_REG_SIZE(DT_NODELABEL(psgpio)),
60-
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
61-
#endif
62-
6355
DT_FOREACH_STATUS_OKAY(xlnx_xps_gpio_1_00_a, AXI_GPIO_MMU_ENTRY)
6456

6557
};

soc/xlnx/zynq7000/xc7zxxxs/soc.c

-8
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@ static const struct arm_mmu_region mmu_regions[] = {
5252
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
5353
#endif
5454

55-
/* GPIO controller */
56-
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(psgpio))
57-
MMU_REGION_FLAT_ENTRY("psgpio",
58-
DT_REG_ADDR(DT_NODELABEL(psgpio)),
59-
DT_REG_SIZE(DT_NODELABEL(psgpio)),
60-
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
61-
#endif
62-
6355
DT_FOREACH_STATUS_OKAY(xlnx_xps_gpio_1_00_a, AXI_GPIO_MMU_ENTRY)
6456

6557
};

0 commit comments

Comments
 (0)