[PATCH 10/10] board: qualcomm: Add support for IPQ9574 RDP433
Varadarajan Narayanan
quic_varada at quicinc.com
Mon Feb 26 11:08:07 CET 2024
Provide the defconfig and include IPQ9574/RDP433 into the build
framework.
Signed-off-by: Varadarajan Narayanan <quic_varada at quicinc.com>
---
arch/arm/mach-snapdragon/Kconfig | 15 ++++
arch/arm/mach-snapdragon/Makefile | 1 +
configs/ipq9574_mmc_defconfig | 118 ++++++++++++++++++++++++++++++
3 files changed, 134 insertions(+)
create mode 100644 configs/ipq9574_mmc_defconfig
diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
index ad66710819..a4552028c1 100644
--- a/arch/arm/mach-snapdragon/Kconfig
+++ b/arch/arm/mach-snapdragon/Kconfig
@@ -90,6 +90,20 @@ config TARGET_QCS404EVB
- 1GiB RAM
- 8GiB eMMC, uSD slot
+config TARGET_IPQ9574
+ bool "QTI IPQ9574 SOC"
+ select OF_BOARD_SETUP
+ select CLK_QCOM_IPQ9574
+ select PINCTRL_QCOM_IPQ9574
+ help
+ Support for IPQ95xx SoC.
+ - Board Open Platform Specifications.
+ - Quad Cores A73, max at 2.2G, L1 at 32KB L2 at 512KB
+ - DDR3L/DDR4
+ - QSPI NAND / NOR / eMMC
+ - USB 3.0/I2C/UART/PCIe Gen3 2Lane
+ - 1G/2.5G/10G Ethernet Ports
+
endchoice
source "board/qualcomm/dragonboard410c/Kconfig"
@@ -97,5 +111,6 @@ source "board/qualcomm/dragonboard820c/Kconfig"
source "board/qualcomm/dragonboard845c/Kconfig"
source "board/samsung/starqltechn/Kconfig"
source "board/qualcomm/qcs404-evb/Kconfig"
+source "board/qualcomm/ipq9574/Kconfig"
endif
diff --git a/arch/arm/mach-snapdragon/Makefile b/arch/arm/mach-snapdragon/Makefile
index 3a3a297c17..a9af8d9ee0 100644
--- a/arch/arm/mach-snapdragon/Makefile
+++ b/arch/arm/mach-snapdragon/Makefile
@@ -4,6 +4,7 @@
obj-$(CONFIG_SDM845) += sysmap-sdm845.o
obj-$(CONFIG_SDM845) += init_sdm845.o
+obj-$(CONFIG_TARGET_IPQ9574) += init_ipq9574.o
obj-$(CONFIG_TARGET_DRAGONBOARD820C) += sysmap-apq8096.o
obj-$(CONFIG_TARGET_DRAGONBOARD410C) += sysmap-apq8016.o
obj-y += misc.o
diff --git a/configs/ipq9574_mmc_defconfig b/configs/ipq9574_mmc_defconfig
new file mode 100644
index 0000000000..0001bd8eae
--- /dev/null
+++ b/configs/ipq9574_mmc_defconfig
@@ -0,0 +1,118 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SNAPDRAGON=y
+CONFIG_ARCH_64BIT_SUPPORT=y
+# CONFIG_ARM64_SUPPORT_AARCH32 is not set
+CONFIG_ARM_SMCCC=y
+CONFIG_HAS_VBAR=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_COUNTER_FREQUENCY=24000000
+CONFIG_IPQ9574=y
+CONFIG_TARGET_IPQ9574=y
+CONFIG_SYS_MALLOC_F_LEN=0x1000
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_LOAD_ADDR=0x50000000
+CONFIG_TEXT_BASE=0x4A240000
+CONFIG_SMEM_BASE_ADDR=0x4AA00000
+CONFIG_NR_DRAM_BANKS=1
+CONFIG_SMEM=y
+CONFIG_SYS_MALLOC_LEN=0x180000
+CONFIG_DM_SERIAL=y
+CONFIG_DEFAULT_DEVICE_TREE="ipq9574-rdp433-mht-phy"
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_EXPERT=y
+CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_OF_LIBFDT=y
+CONFIG_OF_LIBFDT_OVERLAY=y
+# CONFIG_BOOTSTD_BOOTCOMMAND is not set
+# CONFIG_PSCI_RESET is not set
+CONFIG_FIRMWARE=y
+CONFIG_DM=y
+CONFIG_OF_CONTROL=y
+CONFIG_FIT_SIGNATURE=n
+CONFIG_TOOLS_LIBCRYPTO=y
+CONFIG_TOOLS_FIT_RSASSA_PSS=n
+CONFIG_TOOLS_FIT_SIGNATURE=n
+CONFIG_TOOLS_SHA1=n
+CONFIG_TOOLS_SHA256=n
+CONFIG_TOOLS_SHA384=n
+CONFIG_TOOLS_SHA512=n
+CONFIG_SYS_EXTRA_OPTIONS=""
+CONFIG_SYS_PROMPT="IPQ9574# "
+# CONFIG_USE_PREBOOT is not set
+CONFIG_BOOTDELAY=5
+CONFIG_USE_BOOTARGS=y
+CONFIG_USE_BOOTCOMMAND=y
+CONFIG_BOOTCOMMAND=""
+CONFIG_BOOTARGS="console=ttyMSM0,115200n8"
+# CONFIG_BOOTSTD is not set
+CONFIG_HUSH_PARSER=y
+CONFIG_SYS_MAXARGS=64
+CONFIG_OF_BOARD_FIXUP=y
+CONFIG_STACKPROTECTOR=y
+CONFIG_MSM_SMEM=y
+CONFIG_SYS_CUSTOM_LDSCRIPT=y
+CONFIG_SYS_LDSCRIPT="board/qualcomm/ipq9574/u-boot-x64.lds"
+CONFIG_OF_LIST="ipq9574-rdp433-mht-phy"
+CONFIG_DTB_RESELECT=y
+CONFIG_MULTI_DTB_FIT=y
+CONFIG_MULTI_DTB_FIT_LZO=y
+CONFIG_MULTI_DTB_FIT_USER_DEFINED_AREA=y
+CONFIG_MULTI_DTB_FIT_USER_DEF_ADDR=0x4A400000
+CONFIG_MULTI_DTB_FIT_UNCOMPRESS_SZ=0x100000
+# CONFIG_CMD_BOOTI is not set
+CONFIG_ENV_OVERWRITE=y
+CONFIG_CLK=y
+CONFIG_CLK_QCOM=y
+CONFIG_CLK_IPQ9574=y
+# CONFIG_OF_EMBED is not set
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_QCOM=y
+CONFIG_PINCTRL_QCOM_IPQ9574=y
+CONFIG_IPQ_MMC=y
+CONFIG_MMC_SDHCI=y
+CONFIG_GPIO=y
+# CONFIG_CONFIG_GPIO_EXTRA_HEADER is not set
+CONFIG_DM_GPIO=y
+CONFIG_MMC_SDHCI_MSM=y
+# CONFIG_EFI_LOADER is not set
+# CONFIG_MMC_HS200_SUPPORT is not set
+CONFIG_EFI_PARTITION=y
+CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
+CONFIG_MSM_GPIO=y
+CONFIG_PINCONF=y
+# CONFIG_CMD_GPIO is not set
+CONFIG_MSM_SERIAL=y
+CONFIG_STACK_SIZE=0x80000
+CONFIG_SYS_BOOTM_LEN=0x4000000
+CONFIG_DM_RESET=y
+CONFIG_RAM_NUM_PART_ENTRIES=32
+CONFIG_RAM_PART_NAME_LENGTH=16
+CONFIG_RESET_QCOM=y
+CONFIG_NUM_ALT_PARTITION=16
+CONFIG_BOARD_TYPES=y
+CONFIG_BOARD_EARLY_INIT_F=y
+CONFIG_IPQ_USB=y
+CONFIG_IPQ_SPI_NOR=y
+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
+CONFIG_ENV_IS_IN_MMC=y
+CONFIG_SYS_MMC_ENV_PART=0
+CONFIG_ENV_SIZE=0x40000
+CONFIG_ENV_RANGE=0x40000
+CONFIG_ENV_OFFSET=0
+CONFIG_SF_DEFAULT_BUS=0
+CONFIG_SF_DEFAULT_CS=0
+CONFIG_SF_DEFAULT_MODE=0x0
+CONFIG_SF_DEFAULT_SPEED=50000000
+CONFIG_SYS_RX_ETH_BUFFER=128
+CONFIG_ETH_MAX_MAC=6
+CONFIG_ETH_MAX_UNIPHY=3
+CONFIG_TFTP_BLOCKSIZE=1280
+# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_MMC=y
+CONFIG_IPQ_FDT_FIXUP=y
+CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
+CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4a077e60
--
2.34.1
More information about the U-Boot
mailing list