Skip to content

Commit

Permalink
boards: raspberrypi: rpi_5: backport to old hwm
Browse files Browse the repository at this point in the history
Mainline zephyr is moved to HWM v2 which rearranged *soc* and *boards*
which prevents usage of patches [1] as is.

Hence backport RPI5 board to old HWM.

Not for upstream.

[1] zephyrproject-rtos#70538
Signed-off-by: Grygorii Strashko <grygorii_strashko@epam.com>
  • Loading branch information
Grygorii Strashko committed Apr 26, 2024
1 parent 807b796 commit 7f48dda
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_RPI_5
select SOC_BCM2712
bool "Broadcom BCM2712"
depends on SOC_BCM2712
6 changes: 6 additions & 0 deletions boards/arm64/rpi_5/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2023 honglin leng <a909204013@gmail.com>
# SPDX-License-Identifier: Apache-2.0

config BOARD
default "Raspberry Pi 5"
depends on BOARD_RPI_5
1 change: 1 addition & 0 deletions boards/arm64/rpi_5/board.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# SPDX-License-Identifier: Apache-2.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_BCM2712=y
CONFIG_BOARD_RPI_5=y
CONFIG_ARM64_VA_BITS_40=y
CONFIG_ARM64_PA_BITS_40=y
CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME=y
Expand Down

0 comments on commit 7f48dda

Please sign in to comment.