Skip to content

Commit

Permalink
overlays-03-add-rk3318-box-emmc-ddr(:1)
Browse files Browse the repository at this point in the history
Original-Subject: rk3318-box: add eMMC DDR support device tree overlay for rk3318-box
None
X-Armbian: Patch-File: overlays-03-add-rk3318-box-emmc-ddr
X-Armbian: Patch-File-Counter: 1
X-Armbian: Patch-Rel-Directory: patch/kernel/archive/rockchip64-6.1
X-Armbian: Patch-Type: kernel
X-Armbian: Patch-Root-Type: core
X-Armbian: Patch-Sub-Type: common
X-Armbian: Original-Subject: rk3318-box: add eMMC DDR support device tree overlay for rk3318-box
  • Loading branch information
paolosabatino authored and Armbian AutoPatcher committed Apr 17, 2021
1 parent c2db37a commit dbf3cd8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-uart4.dtbo \
rockchip-dwc3-0-host.dtbo \
rockchip-w1-gpio.dtbo \
rockchip-rk3318-box-led-conf1.dtbo
rockchip-rk3318-box-led-conf1.dtbo \
rockchip-rk3318-box-emmc-ddr.dtbo

scr-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-fixup.scr
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,9 @@ or enabling the internal pull-up

Activates led/gpio configuration for rk3318 tv box boards with signature
YX_RK3328 and clones

### rk3318-box-emmc-ddr

Activates eMMC DDR capability for rk3318 tv box boards. Probably all the eMMC chips
nowadays support DDR mode, but its reliability heavily depends upon the quality
of board wiring
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/dts-v1/;
/plugin/;

/ {

fragment@0 {
target = <&emmc>;
__overlay__ {
status = "okay";
mmc-ddr-1_8v;
};
};

};

0 comments on commit dbf3cd8

Please sign in to comment.