Skip to content

Commit 09b964a

Browse files
smaeulwens
authored andcommitted
arm64: dts: allwinner: a64: Orange Pi Win: Fix SD card node
The Orange Pi Win has a microSD card slot which is connected via all four SD data lines. As the DT was not mentioning this fact, we got the default single bit transfers, losing out on performance. Also, as microSD does not have a write protect switch, we disable this feature in the DT node. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent b3ee15a commit 09b964a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
pinctrl-names = "default";
6868
pinctrl-0 = <&mmc0_pins>;
6969
vmmc-supply = <&reg_dcdc1>;
70-
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
70+
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
71+
disable-wp;
72+
bus-width = <4>;
7173
status = "okay";
7274
};
7375

0 commit comments

Comments
 (0)