Skip to content

Commit 0ffce9d

Browse files
xhackerustcConchuOD
authored andcommitted
riscv: dts: starfive: visionfive 2: add tf cd-gpios
Per VisionFive 2 1.2B, and 1.3A boards' SCH, GPIO 41 is used as card detect. So add "cd-gpios" property for this. Signed-off-by: Jisheng Zhang <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent ffddddf commit 0ffce9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
bus-width = <4>;
304304
no-sdio;
305305
no-mmc;
306-
broken-cd;
306+
cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
307307
cap-sd-highspeed;
308308
post-power-on-delay-ms = <200>;
309309
pinctrl-names = "default";

0 commit comments

Comments
 (0)