Skip to content

Commit

Permalink
arm64: dts: rock-3a: add overlay to enable sata on m.2 e-key slot
Browse files Browse the repository at this point in the history
  • Loading branch information
pykpkg47 committed Sep 7, 2024
1 parent e713165 commit 7e7f349
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
orangepi-5-pro-cam1.dtbo \
orangepi-5-pro-cam2.dtbo \
orangepi-5-pro-disable-leds.dtbo \
rock-3a-sata.dts \
rock-5a-hdmi-8k.dtbo \
rock-5a-i2c5-rtc-hym8563.dtbo \
rock-5a-radxa-camera-4k.dtbo \
Expand Down
21 changes: 21 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/rock-3a-sata.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// ROCK 3A Pcie M.2 to sata
/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable SATA2";
compatible = "radxa,rock-3a";
category = "misc";
description = "Enable SATA2.
When SATA2 is enabled, PCIe cannot be enabled on the same port.";
};
};

&pcie2x1 {
status = "disabled";
};

&sata2 {
status = "okay";
};

0 comments on commit 7e7f349

Please sign in to comment.