[PATCH v3 0/9] arm64: dts: amlogic: Add MMC/SD/SDIO support for Khadas VIM4 (Amlogic T7)
From: Ronald Claveau <hidden>
Date: 2026-03-23 10:03:35
Also in:
linux-amlogic, linux-devicetree, linux-mmc, linux-wireless, lkml
This patch series depends on Jian's SCMI clock patches yet to merge https://lore.kernel.org/all/20260313070022.700437-1-jian.hu@amlogic.com/ (local) This series adds device tree support for the MMC, SD card and SDIO interfaces on the Amlogic T7 SoC and the Khadas VIM4 board. The first patches add the necessary building blocks in the T7 SoC DTSI: pinctrl nodes for pin muxing, PWM controller nodes, and MMC controller nodes. The amlogic,t7-mmc and amlogic,t7-pwm compatible strings are introduced with fallbacks to existing drivers, avoiding the need for new driver code. The remaining patches enable these interfaces on the Khadas VIM4 board, including the power regulators, the SDIO power sequence and 32.768kHz PWM clock required by the BCM43752 Wi-Fi module, and the board-specific MMC controller configurations. Signed-off-by: Ronald Claveau <redacted> --- Changes in v3: - Remove all changes about fixed pll clock from analog controller. - Use clocks retrieved through SCMI. - Add other MMC controllers - Manage Wi-Fi module enablement. - Link to v2: https://lore.kernel.org/r/20260218101709.35450-1-linux-kernel-dev@aliel.fr (local) Changes in v2: - Resend v1 patches as attached to the first patch. - Link to v1: https://lore.kernel.org/r/20260218101709.35450-1-linux-kernel-dev@aliel.fr (local) --- Ronald Claveau (9): arm64: dts: amlogic: t7: Add eMMC, SD card and SDIO pinctrl nodes dt-bindings: mmc: amlogic: Add compatible for T7 mmc arm64: dts: amlogic: t7: Add MMC controller nodes arm64: dts: amlogic: t7: Add PWM pinctrl nodes arm64: dts: amlogic: t7: Add PWM controller nodes arm64: dts: amlogic: t7: khadas-vim4: Add power regulators arm64: dts: amlogic: t7: khadas-vim4: Add SDIO power sequence and WiFi clock dt-bindings: net: wireless: brcm: Add compatible for bcm43752 arm64: dts: amlogic: t7: khadas-vim4: Add MMC nodes .../bindings/mmc/amlogic,meson-gx-mmc.yaml | 5 +- .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 1 + .../dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts | 202 ++++++++++++- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 336 +++++++++++++++++++++ 4 files changed, 542 insertions(+), 2 deletions(-) --- base-commit: f6eb9ae8b9fc13c3971e4a6d1e8442f253001f36 change-id: 20260320-add-emmc-t7-vim4-6ad16e94614f prerequisite-message-id: [ref] prerequisite-patch-id: f03a086b4137158412b2d47b3de793b858de8dde prerequisite-patch-id: 123970c9b29c2090440f2fd71c85d3c6fd8e36de prerequisite-patch-id: 3e2e56b0926ba327b520f935df4ced5089bbe503 Best regards, -- Ronald Claveau [off-list ref]