Created
May 5, 2023 23:35
-
-
Save akhepcat/1cda8ca08bf9325bfb18146f915400da to your computer and use it in GitHub Desktop.
Enable PCIe gen2 speeds on RockPro64 boards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* For RockPro64 boards only!! */ | |
/dts-v1/; | |
/plugin/; | |
/ { | |
fragment@0 { | |
target-path = "/pcie@f8000000"; | |
__overlay__ { | |
max-link-speed = <0x02>; | |
}; | |
}; | |
/* | |
## To install: | |
* dtc -O dtb -o /boot/dtb/rockchip/overlay/rockchip-pcie-gen2.dtbo rockchip-pcie-gen2.d2s | |
* Edit /boot/armbianEnv.txt and add | |
overlays=pcie-gen2 ( or: orverlays=[existing] pcie-gen2 ) | |
* reboot | |
*/ | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment