On the RK3399 the GIC has a base address of 0xfee0000 and is allocated 2M of address space. It has 6 major components, as follows:
#define GICD_BASE 0xfee00000 /* 0x10000 */ #define GICR_BASE 0xfef00000 /* 0xC0000 */ #define GICC_BASE 0xfff00000 /* 0x10000 */ #define GICH_BASE 0xfff10000 /* 0x10000 */ #define GICV_BASE 0xfff20000 /* 0x10000 */ #define GITS_BASE 0xfee20000 /* 0x20000 */The above gives the base address and size for the various registers on the RK3399. Note that 3 of the areas are outside the 2M window that supposedly is allocated to the GIC.
Tom's electronics pages / tom@mmto.org