Commit 6331b876 authored by Bin Meng's avatar Bin Meng Committed by Palmer Dabbelt

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.pdfSigned-off-by: default avatarBin Meng <bin.meng@windriver.com>
Fixes: d573b555 ("riscv: dts: add initial board data for the SiFive HiFive Unmatched")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 5a19c7e0
...@@ -76,6 +76,7 @@ mmc@0 { ...@@ -76,6 +76,7 @@ mmc@0 {
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
voltage-ranges = <3300 3300>; voltage-ranges = <3300 3300>;
disable-wp; disable-wp;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment