]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add initial clocks support for Rockchip RK3568 SoC.
authorSøren Schmidt <sos@FreeBSD.org>
Sun, 18 Dec 2022 12:05:29 +0000 (12:05 +0000)
committerGanbold Tsagaankhuu <ganbold@FreeBSD.org>
Sun, 18 Dec 2022 12:05:29 +0000 (12:05 +0000)
commita48301a5e0947a261400cc26fb0f57a499b332c6
tree31bdecf3504f30ec4da4b2c8670442d160b08524
parent0e3c99cbed14bfde865fd9efb094ae520de35d55
Add initial clocks support for Rockchip RK3568 SoC.

Partially from: https://reviews.freebsd.org/D36027

This can be eventually improved or simplified or fixed if necessary.

Following devices work with proper drivers and with the necessary clocks:
Native networking via eqos driver
USB3 and USB2
PCIe support is working but a bit picky about what hardware it supports (but so is Linux)
SD & (e)MMC
With the EDK2 loader video also works

Supported hardwares are Quartz64, NanoPI R5S and Firefly Station P2, more to come as DTS files gets done.
sys/arm64/rockchip/clk/rk3568_cru.c [new file with mode: 0644]
sys/arm64/rockchip/clk/rk3568_pmucru.c [new file with mode: 0644]