arm64: dts: amlogic: t7: khadas-vim4: Add SDIO power sequence and WiFi clock

Add the SDIO power sequence node using mmc-pwrseq-simple and a
32.768kHz PWM-based clock required by the Wi-Fi module.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Ronald Claveau <linux-kernel-dev@aliel.fr>
Link: https://patch.msgid.link/20260326-add-emmc-t7-vim4-v5-7-d3f182b48e9d@aliel.fr
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
Ronald Claveau 2026-03-26 10:59:18 +01:00 committed by Neil Armstrong
parent 97f08cef69
commit 4d2663f85f

View File

@ -68,6 +68,15 @@ sd_3v3: regulator-sdcard-3v3 {
regulator-always-on;
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
post-power-on-delay-ms = <500>;
power-off-delay-us = <200000>;
clocks = <&wifi32k>;
clock-names = "ext_clock";
};
vcc5v: regulator-vcc-5v {
compatible = "regulator-fixed";
regulator-name = "VCC5V";
@ -136,6 +145,19 @@ vddio_c: regulator-gpio-c {
states = <1800000 1
3300000 0>;
};
wifi32k: wifi32k {
compatible = "pwm-clock";
#clock-cells = <0>;
clock-frequency = <32768>;
pwms = <&pwm_ab 0 30518 0>;
};
};
&pwm_ab {
status = "okay";
pinctrl-0 = <&pwm_a_pins>;
pinctrl-names = "default";
};
&uart_a {