Skip to content

Commit 7fe286a

Browse files
lbmenggregkh
authored andcommitted
riscv: dts: unleashed: Add gpio card detect to mmc-spi-slot
commit 6331b87 upstream. 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 <[email protected]> Fixes: d573b55 ("riscv: dts: add initial board data for the SiFive HiFive Unmatched") Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5e14b8b commit 7fe286a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
spi-max-frequency = <20000000>;
8181
voltage-ranges = <3300 3300>;
8282
disable-wp;
83+
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
8384
};
8485
};
8586

0 commit comments

Comments
 (0)