arm: dts: db410c: Add missing cd-gpios for SD card detection
authorStephan Gerhold <stephan@gerhold.net>
Sun, 27 Jun 2021 11:06:15 +0000 (13:06 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 6 Jul 2021 18:12:15 +0000 (14:12 -0400)
commit698c1df4d1bed2778d3344b98dabf4e4ba0efd0d
treeca439e351afa4d85094911cef10bc4d9d114e2ad
parent6d430e11a86463745eeaec9292401ffbdfbc07d3
arm: dts: db410c: Add missing cd-gpios for SD card detection

It looks like SD card detection is broken at the moment for DB410c.
The eMMC is detected correctly, but the SD card is not.

This is probably similar to the issue fixed in commit 850514740358
("mmc: msm_sdhci: Use mmc_of_parse for setting host_caps") for eMMC,
except that the SD card does not have a property like "non-removable"
that skips the card detection.

The SDHCI on DB410c cannot detect itself if a SD card is inserted,
so add the necessary cd-gpios to make SD card detection work again.

While at it, fix the #gpio-cells for the soc_gpios to avoid DTC
warnings - the soc_gpios are actually already used with two cells
for the gpio-leds so this was just wrong all the time.

Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
arch/arm/dts/dragonboard410c.dts