51 lines
1.4 KiB
Diff
51 lines
1.4 KiB
Diff
|
From 2a068e19ffe511cbff94ae01541f6060b541bbf0 Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Riesch <michael.riesch@wolfvision.net>
|
||
|
Date: Thu, 5 Aug 2021 14:01:06 +0200
|
||
|
Subject: [PATCH 044/478] arm64: dts: rockchip: add node for sd card to
|
||
|
rk3568-evb1-v10
|
||
|
|
||
|
Add the SD card reader to the device tree of the RK3568 EVB1.
|
||
|
|
||
|
Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
|
||
|
Link: https://lore.kernel.org/r/20210805120107.27007-7-michael.riesch@wolfvision.net
|
||
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
||
|
---
|
||
|
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 14 ++++++++++++++
|
||
|
1 file changed, 14 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
|
||
|
index 92af4ce89b70..1c34d529b771 100644
|
||
|
--- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
|
||
|
@@ -16,6 +16,7 @@ / {
|
||
|
aliases {
|
||
|
ethernet0 = &gmac0;
|
||
|
ethernet1 = &gmac1;
|
||
|
+ mmc0 = &sdmmc0;
|
||
|
};
|
||
|
|
||
|
chosen: chosen {
|
||
|
@@ -365,6 +366,19 @@ &sdhci {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&sdmmc0 {
|
||
|
+ bus-width = <4>;
|
||
|
+ cap-sd-highspeed;
|
||
|
+ cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
|
||
|
+ disable-wp;
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
|
||
|
+ sd-uhs-sdr104;
|
||
|
+ vmmc-supply = <&vcc3v3_sd>;
|
||
|
+ vqmmc-supply = <&vccio_sd>;
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
&uart2 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
--
|
||
|
2.35.3
|
||
|
|