[ARM] 4190/2: Add the secondary GIC support for the RealView/EB
[firefly-linux-kernel-4.4.55.git] / include / asm-arm / arch-realview / platform.h
index aef9b36b3c3771d891e5d199a1daf817c8033b1a..bf52ca752a75335bbd83c86e14bd472ad92f31cd 100644 (file)
 #else
 #define REALVIEW_MPCORE_SCU_BASE       0x10100000      /*  SCU registers */
 #define REALVIEW_GIC_CPU_BASE          0x10100100      /* Generic interrupt controller CPU interface */
+#define REALVIEW_TWD_BASE              0x10100700
+#define REALVIEW_TWD_SIZE              0x00000100
 #define REALVIEW_GIC_DIST_BASE         0x10101000      /* Generic interrupt controller distributor */
+#define REALVIEW_GIC1_CPU_BASE        0x10040000       /* Generic interrupt controller CPU interface */
+#define REALVIEW_GIC1_DIST_BASE       0x10041000       /* Generic interrupt controller distributor */
 #endif
 #define REALVIEW_SMC_BASE             0x10080000       /* SMC */
        /* Reserved 0x10090000 - 0x100EFFFF */
 #define INT_USB                                29      /* USB controller */
 #define INT_TSPENINT                   30      /* Touchscreen pen */
 #define INT_TSKPADINT                  31      /* Touchscreen keypad */
+
 #else
-#define INT_LOCALTIMER                 29
-#define INT_LOCALWDOG                  30
+
+#define MAX_GIC_NR                     2
 
 #define INT_AACI                       0
 #define INT_TIMERINT0_1                        1