February 15, 2022

Orange Pi 4 (Rockchip 3399) the GIC 500

The Rockchip RK3399 includes a GIC500 interrupt controller. Looking at my previous Aarch64 projects, I see that the Fire3 and the Allwinner h5 both use the GIC400. I never did get interrupts working for the h5, but I had good luck with the Fire3, so I may be able to use Fire3 code for the RK3399.

The RK3399 manual has no specific details on the GIC-500. The ARM documents will provide the details, as they have in the past. What I need to learn is what is different between GIC400 and GIC500.

The RK3399 TRM does list the numeric assignment of interrupt numbers to devices in section 1.3 of the manual. For example UART2 (our console) is 132. Timer 0 is 113. This table is all important.

Have any comments? Questions? Drop me a line!

Tom's electronics pages / tom@mmto.org