liamhays / rk3566-mcu

Reverse engineering, notes, and example code for the RISC-V MCU inside the RK3566 SoC
GNU General Public License v3.0
20 stars 5 forks source link

rk3566-mcu

This repository is a collection of information and example code for the RISC-V MCU found inside the Rockchip RK3566 SoC used in the Pine64 Quartz64, PineTab2, and PineNote. Documentation is in rk3566_mcu_notes.md.

What's documented:

What's left:

If there's interest in a kernel module for the MCU, open an issue on this repository or contact me some other way and I may be able to write one.

Using the MCU

See examples for code examples. Each folder is a basic kernel module and RISC-V source for the MCU. Make sure you install the linux-headers package for your OS and architecture.

Contributing

If you know anything about the MCU or have done experimentation, open an issue or pull request to add information. I am also interested in the TRM for the RV1126 chip, because this chip has the same MCU core integrated but uses different registers and might have different internal connections.