]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: dts: unleashed: Add gpio card detect to mmc-spi-slot
authorBin Meng <bin.meng@windriver.com>
Wed, 16 Jun 2021 07:46:44 +0000 (15:46 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 24 Nov 2021 16:58:10 +0000 (08:58 -0800)
commit9a9dc2522495c0b37e950c2ae725ef6d8d4c3e56
tree480683121f5e0f8658ab8e4a4b8ea93c12c197c2
parente71766a510d80710493d7ad69a191f00c8488aa0
riscv: dts: unleashed: Add gpio card detect to mmc-spi-slot

Per HiFive Unleashed schematics, the card detect signal of the
micro SD card is connected to gpio pin #11, which should be
reflected in the DT via the <gpios> property, as described in
Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt.

[1] https://sifive.cdn.prismic.io/sifive/c52a8e32-05ce-4aaf-95c8-7bf8453f8698_hifive-unleashed-a00-schematics-1.pdf

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Fixes: 95d8698d9007 ("riscv: dts: add initial board data for the SiFive HiFive Unmatched")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts