67 lines
2.4 KiB
Diff
67 lines
2.4 KiB
Diff
From 0c9a276d459db0c16468cf2bae502eefd379c61b Mon Sep 17 00:00:00 2001
|
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
|
Date: Wed, 21 Apr 2021 11:02:43 +0000
|
|
Subject: [PATCH] rk3318-box: add emmc hs200 device tree overlay
|
|
|
|
---
|
|
arch/arm64/boot/dts/rockchip/overlay/Makefile | 3 ++-
|
|
.../dts/rockchip/overlay/README.rockchip-overlays | 6 ++++++
|
|
.../overlay/rockchip-rk3318-box-emmc-hs200.dts | 14 ++++++++++++++
|
|
3 files changed, 22 insertions(+), 1 deletion(-)
|
|
create mode 100644 arch/arm64/boot/dts/rockchip/overlay/rockchip-rk3318-box-emmc-hs200.dts
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/overlay/Makefile b/arch/arm64/boot/dts/rockchip/overlay/Makefile
|
|
index 42b19bd85..f227d5997 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/overlay/Makefile
|
|
+++ b/arch/arm64/boot/dts/rockchip/overlay/Makefile
|
|
@@ -16,7 +16,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
|
|
rockchip-rk3318-box-wlan-ap6334.dtbo \
|
|
rockchip-rk3318-box-wlan-ext.dtbo \
|
|
rockchip-rk3318-box-wlan-ap6330.dtbo \
|
|
- rockchip-rk3318-box-cpu-hs.dtbo
|
|
+ rockchip-rk3318-box-cpu-hs.dtbo \
|
|
+ rockchip-rk3318-box-emmc-hs200.dtbo
|
|
|
|
scr-$(CONFIG_ARCH_ROCKCHIP) += \
|
|
rockchip-fixup.scr
|
|
diff --git a/arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays b/arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
|
|
index 2fc9b00fe..1b547bea7 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
|
|
+++ b/arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
|
|
@@ -130,6 +130,12 @@ Activates eMMC DDR capability for rk3318 tv box boards. Probably all the eMMC ch
|
|
nowadays support DDR mode, but its reliability heavily depends upon the quality
|
|
of board wiring
|
|
|
|
+### rk3318-box-emmc-hs200
|
|
+
|
|
+Activates eMMC HS200 capability for rk3318 tv box boards.
|
|
+It should in autodetect mode, but some board have faulty or cheap circuitry that
|
|
+enable the mode but then it doesn't work correctly.
|
|
+
|
|
### rk3318-box-wlan-ap6334
|
|
|
|
Set up additional device tree bits to properly support ap6334 (broadcom BCM4334)
|
|
diff --git a/arch/arm64/boot/dts/rockchip/overlay/rockchip-rk3318-box-emmc-hs200.dts b/arch/arm64/boot/dts/rockchip/overlay/rockchip-rk3318-box-emmc-hs200.dts
|
|
new file mode 100644
|
|
index 000000000..55f8f7eb6
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/rockchip/overlay/rockchip-rk3318-box-emmc-hs200.dts
|
|
@@ -0,0 +1,14 @@
|
|
+/dts-v1/;
|
|
+/plugin/;
|
|
+
|
|
+/ {
|
|
+
|
|
+ fragment@0 {
|
|
+ target = <&emmc>;
|
|
+ __overlay__ {
|
|
+ status = "okay";
|
|
+ mmc-hs200-1_8v;
|
|
+ };
|
|
+ };
|
|
+
|
|
+};
|
|
--
|
|
2.25.1
|
|
|