arm64: dts: rockchip: remove redundant cd-gpios from rk3588 sdmmc nodes
authorKever Yang <kever.yang@rock-chips.com>
Thu, 1 Feb 2024 03:46:21 +0000 (11:46 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 13 Feb 2024 19:11:42 +0000 (20:11 +0100)
The sdmmc node already have a "&sdmmc_det" for pinctrl which switch the
GPIO0A4 to sdmmc detect function, no need to define a separate "cd-gpios".

RK3588 has force_jtage feature which is enable JTAG function via sdmmc
pins automatically when there is no SD card insert, this feature will
need the GPIO0A4 works in sdmmc_det function like other mmc signal instead
of GPIO function, or else the force_jtag can not auto be disabled when
SD card insert.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Link: https://lore.kernel.org/r/20240201034621.1970279-1-kever.yang@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts

index 3e660ff6cd5ff3d966356667e5b7db80a298da3b..1b606ea5b6cf2b32c72eab2bdac812b4a94d310c 100644 (file)
 &sdmmc {
        bus-width = <4>;
        cap-sd-highspeed;
-       cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
        disable-wp;
        max-frequency = <150000000>;
        no-sdio;
index 87a0abf95f7d4f9ac0846c61a7ad18ba6cdabea1..67414d72e2b6ef9308aa357c606f64d652c54075 100644 (file)
 &sdmmc {
        bus-width = <4>;
        cap-sd-highspeed;
-       cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
        disable-wp;
        max-frequency = <150000000>;
        no-sdio;
index 9b7bf6cec8bd1e6f18abc824a5cd7ddebaac3c00..1fe8b2a0ed75eeb3360fa82ceeb031be8e06e6b7 100644 (file)
        bus-width = <4>;
        cap-mmc-highspeed;
        cap-sd-highspeed;
-       cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
        disable-wp;
        sd-uhs-sdr104;
        vmmc-supply = <&vcc_3v3_s3>;
index 2002fd0221fa30cf2b81afcab5bf600dd8328ae1..00afb90d4eb10bab9db61591c9f5cb167c37ec93 100644 (file)
        bus-width = <4>;
        cap-mmc-highspeed;
        cap-sd-highspeed;
-       cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
        disable-wp;
        max-frequency = <150000000>;
        no-sdio;