Skip to content

Commit

Permalink
Merge pull request radxa-pkg#323 from Ken-Vamrs/main
Browse files Browse the repository at this point in the history
add rk3588-disable-sdhci
  • Loading branch information
RadxaYuntian authored May 22, 2024
2 parents 1651015 + cfbf6e1 commit 5715350
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ dtb-$(CONFIG_CLK_RK3588) += \
radxa-nx5-io-rpi-camera-v2-cam0.dtbo \
radxa-nx5-io-rpi-camera-v2-cam1.dtbo \
rk3588-disable-fiq-debugger.dtbo \
rk3588-disable-sdhci.dtbo \
rk3588-dwc3-host.dtbo \
rk3588-dwc3-peripheral.dtbo \
rk3588-dwc3-otg.dtbo \
Expand Down
18 changes: 18 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rk3588-disable-sdhci.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/dts-v1/;
/plugin/;

/ {
metadata {
title = "Disable SDHCI";
compatible = "rockchip,rk3588";
category = "misc";
exclusive = "sdhci";
description = "Disable SDHCI.
This will disable access to eMMC.
If your system is installed on the eMMC, it will now be unbootable!";
};
};

&sdhci {
status = "disabled";
};

0 comments on commit 5715350

Please sign in to comment.