49 lines
1.2 KiB
Diff
49 lines
1.2 KiB
Diff
From b89be51a2e80e7a56ddd444cc57b042594016218 Mon Sep 17 00:00:00 2001
|
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
|
Date: Sat, 19 Mar 2022 21:37:32 +0000
|
|
Subject: [PATCH] rk3288: add emmc to tinkerboard dts
|
|
|
|
---
|
|
arch/arm/dts/rk3288-tinker-u-boot.dtsi | 4 ++++
|
|
arch/arm/dts/rk3288-tinker.dts | 12 ++++++++++++
|
|
2 files changed, 16 insertions(+)
|
|
|
|
diff --git a/arch/arm/dts/rk3288-tinker-u-boot.dtsi b/arch/arm/dts/rk3288-tinker-u-boot.dtsi
|
|
index 56d10c82e..164c72eb7 100644
|
|
--- a/arch/arm/dts/rk3288-tinker-u-boot.dtsi
|
|
+++ b/arch/arm/dts/rk3288-tinker-u-boot.dtsi
|
|
@@ -36,6 +36,10 @@
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
+&emmc {
|
|
+ u-boot,dm-spl;
|
|
+};
|
|
+
|
|
&sdmmc {
|
|
u-boot,dm-spl;
|
|
};
|
|
diff --git a/arch/arm/dts/rk3288-tinker.dts b/arch/arm/dts/rk3288-tinker.dts
|
|
index 8b1848c31..8db248412 100644
|
|
--- a/arch/arm/dts/rk3288-tinker.dts
|
|
+++ b/arch/arm/dts/rk3288-tinker.dts
|
|
@@ -31,3 +31,15 @@
|
|
vbus-supply = <&vcc5v0_host>;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&emmc {
|
|
+ bus-width = <8>;
|
|
+ cap-mmc-highspeed;
|
|
+ non-removable;
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
|
|
+ max-frequency = <150000000>;
|
|
+ mmc-hs200-1_8v;
|
|
+ mmc-ddr-1_8v;
|
|
+ status = "okay";
|
|
+};
|
|
--
|
|
2.30.2
|
|
|