[PATCH] arm: dts: socfpga: Add MDK support with external GPIO expander

Chee, Tien Fong tien.fong.chee at altera.com
Wed Jun 3 11:03:18 CEST 2026


Hi Alif,


On 21/5/2026 9:53 am, alif.zakuan.yuslaimi at altera.com wrote:
> From: Tanmay Kathpalia <tanmay.kathpalia at altera.com>
>
> Add dedicated device tree and configuration support for Agilex5 Modular
> DevKit which uses an external GPIO expander for 1.8V signaling control
> instead of the onboard GPIO used in the Premium DevKit variant.
>
> New files added:
> - socfpga_agilex5_socdk_modular.dts: Main device tree for modular board
> - socfpga_agilex5_socdk_modular-u-boot.dtsi: U-Boot specific additions
> - configs/socfpga_agilex5_modular_defconfig: Modular board configuration
>
> Key differences from Premium DevKit:
> - Uses PCA9535 GPIO expander (I2C address 0x27) for voltage switching
> - GPIO expander pin 1 controls the level shifter for SD I/O voltage
> - Requires I2C3 and PCA953X driver support in SPL and main U-Boot
> - Same SD timing configurations but different GPIO control mechanism
>
> Configuration changes:
> - Enable CONFIG_SPL_I2C and CONFIG_SPL_SYS_I2C_DW for SPL I2C support
> - Enable CONFIG_DM_PCA953X and CONFIG_SPL_DM_PCA953X for GPIO expander
> - Enable CONFIG_DM_REGULATOR_GPIO and CONFIG_SPL_DM_REGULATOR_GPIO
> - Add TARGET_SOCFPGA_AGILEX5_MODULAR Kconfig option


commit message must not claim TARGET_SOCFPGA_AGILEX5_MODULAR, not in the 
diff

[...]


> diff --git a/configs/socfpga_agilex5_modular_defconfig b/configs/socfpga_agilex5_modular_defconfig
> new file mode 100644
> index 00000000000..3f3a47f02ab
> --- /dev/null
> +++ b/configs/socfpga_agilex5_modular_defconfig
> @@ -0,0 +1,9 @@
> +#include <configs/socfpga_agilex5_defconfig>
> +
> +CONFIG_DEFAULT_DEVICE_TREE="socfpga_agilex5_socdk_modular"


configs/socfpga_agilex5_modular_defconfig sets 
CONFIG_DEFAULT_DEVICE_TREE="socfpga_agilex5_socdk_modular", but 
arch/arm/dts/Makefile does not list socfpga_agilex5_socdk_modular.dtb

make socfpga_agilex5_modular_defconfig
make arch/arm/dts/socfpga_agilex5_socdk_modular.dtb
→ No rule to make target 'arch/arm/dts/socfpga_agilex5_socdk_modular.dtb'


Best regards,

Tien Fong



More information about the U-Boot mailing list