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

Per HiFive Unmatched schematics, the card detect signal of the
micro SD card is connected to gpio pin #15, 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/6a06d6c0-6e66-49b5-8e9e-e68ce76f4192_hifive-unmatched-schematics-v3.pdf

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Fixes: 89656b4ad2d7 ("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-unmatched-a00.dts