diff options
author | Samuel Holland <samuel@sholland.org> | 2018-07-30 13:31:21 +0100 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2018-08-27 15:42:53 +0800 |
commit | 09b964afca14d0594b2b2f265df3d987e2f43867 (patch) | |
tree | 40029157439068ff9cfe49d75a7cbf4a4adbf7c5 /arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | |
parent | b3ee15a509ffd7473b77b21cb921b3128efdd005 (diff) | |
download | linux-09b964afca14d0594b2b2f265df3d987e2f43867.tar.bz2 |
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>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts index 1221764f5719..667016815cf3 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts @@ -67,7 +67,9 @@ pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; vmmc-supply = <®_dcdc1>; - cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ + disable-wp; + bus-width = <4>; status = "okay"; }; |