Skip to content

Commit 6331b87

Browse files
lbmengpalmer-dabbelt
authored andcommitted
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 <[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]>
1 parent 5a19c7e commit 6331b87

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
@@ -76,6 +76,7 @@
7676
spi-max-frequency = <20000000>;
7777
voltage-ranges = <3300 3300>;
7878
disable-wp;
79+
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
7980
};
8081
};
8182

0 commit comments

Comments
 (0)