Skip to content

Commit

Permalink
soc: xlnx: zynq7000: remove PS GPIO controller's static memory mapping
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ibirnbaum committed Sep 10, 2024
1 parent 3088130 commit 7425bb0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions soc/xlnx/zynq7000/xc7zxxx/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,6 @@ static const struct arm_mmu_region mmu_regions[] = {
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
#endif

/* GPIO controller */
#if DT_NODE_HAS_STATUS(DT_NODELABEL(psgpio), okay)
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)

};
Expand Down
8 changes: 0 additions & 8 deletions soc/xlnx/zynq7000/xc7zxxxs/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,6 @@ static const struct arm_mmu_region mmu_regions[] = {
MT_DEVICE | MATTR_SHARED | MPERM_R | MPERM_W),
#endif

/* GPIO controller */
#if DT_NODE_HAS_STATUS(DT_NODELABEL(psgpio), okay)
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)

};
Expand Down

0 comments on commit 7425bb0

Please sign in to comment.