[PATCH v1 0/4] socfpga: agilex5: SDHCI controller correction and feature enablement
Tanmay Kathpalia
tanmay.kathpalia at altera.com
Mon Dec 15 12:01:13 CET 2025
This patch series addresses configuration corrections and enables
required features for SD/eMMC support on the SoCFPGA Agilex5 platform.
Summary of changes:
1. Remove SDIO_SEL GPIO hog configuration
The SDIO_SEL GPIO hog setup is removed as voltage switching is now
managed by the regulator framework, allowing proper UHS-I voltage
control through the MMC subsystem.
2. Correct SDHCI controller node from SD4HC to SD6HC
Updates the device tree to use the Cadence SD6HC controller
(replacing SD4HC), adds appropriate compatible strings, and
configures voltage regulators and GPIOs for SD card I/O switching.
3. Enable MMC and Cadence SDHCI support in defconfig
Enables the MMC subsystem and Cadence SDHCI driver in both SPL and
U-Boot proper, including ADMA and regulator support, to provide SD
card functionality and voltage regulation.
4. Add dedicated eMMC device tree and defconfig
Adds device tree and configuration for eMMC operation on Agilex5,
including fixed I/O voltage regulator and timing parameters for
supported modes.
These changes are specific to the SoCFPGA Agilex5 platform and ensure
correct SD/eMMC controller configuration and feature enablement.
Please review and provide feedback.
Regards,
Tanmay Kathpalia
tanmay.kathpalia at altera.com
Tanmay Kathpalia (4):
Revert "arch: arm: dts: agilex5: Set SDIO_SEL GPIO pin as output"
arm: dts: socfpga: agilex5: Upgrade SDHCI controller from SD4HC to
SD6HC
configs: socfpga_agilex5: Enable MMC and Cadence SDHCI support
arm: dts: socfpga: agilex5: Add dedicated eMMC device tree support
arch/arm/dts/Makefile | 1 +
arch/arm/dts/socfpga_agilex5-u-boot.dtsi | 14 +-
arch/arm/dts/socfpga_agilex5.dtsi | 29 +--
.../arm/dts/socfpga_agilex5_socdk-u-boot.dtsi | 77 ++++----
.../socfpga_agilex5_socdk_emmc-u-boot.dtsi | 178 ++++++++++++++++++
arch/arm/dts/socfpga_agilex5_socdk_emmc.dts | 49 +++++
configs/socfpga_agilex5_defconfig | 20 +-
configs/socfpga_agilex5_emmc_defconfig | 6 +
drivers/mmc/sdhci-cadence.c | 1 +
9 files changed, 306 insertions(+), 69 deletions(-)
create mode 100644 arch/arm/dts/socfpga_agilex5_socdk_emmc-u-boot.dtsi
create mode 100644 arch/arm/dts/socfpga_agilex5_socdk_emmc.dts
create mode 100644 configs/socfpga_agilex5_emmc_defconfig
--
2.43.7
More information about the U-Boot
mailing list