[PATCH 2/2] arm64: dts: rockchip: Add Seeed Studio reComputer RK3576 Dev Kit
Ricardo Pardini
ricardo at pardini.net
Thu Dec 3 17:13:10 PST 2026
On 01/12/2026 15:11, Shawn Lin wrote:
>> +
>> +&sdmmc {
>> + bus-width = <4>;
>> + cap-sd-highspeed;
>> + disable-wp;
>> + max-frequency = <200000000>;
>> + no-mmc;
>> + no-sdio;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>;
>> + sd-uhs-sdr104;
>> + vmmc-supply = <&vcc3v3_sd_s0>;
>> + vqmmc-supply = <&vccio_sd_s0>;
>> + status = "okay";
>> +};
>
> Please change to use cd-gpios method for hot-plug support.
Hi Shawn,
Thanks for the review. I'll add
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
the same way as on the RK3576 EVB1 and the NanoPi R76S: sdmmc0_det
stays in pinctrl-0.
With this I've tested with the controller runtime-suspended (idle for
several minutes), card removal and insertion are both detected through
the GPIO interrupt, and the card comes up at UHS-I SDR104 (198 MHz)
with clean reads, also when reinserted after another idle period.
I'll send v2 with this change shortly.
Thanks,
Ricardo
More information about the linux-arm-kernel
mailing list