include: add rv1126 IRQ definitions

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I1c3c44befe9b667efd1012c20c7ba9b82c922ba7
This commit is contained in:
Joseph Chen 2020-03-04 18:26:50 +08:00
parent 593e1e6d64
commit 066e9bcbb9
2 changed files with 24 additions and 0 deletions

View File

@ -199,6 +199,27 @@
#define GPIO_BANK_NUM 5
#define GPIO_BANK_PINS 32
#elif defined(CONFIG_ROCKCHIP_RV1126)
#define GPIO0_PHYS 0xff460000
#define GPIO1_PHYS 0xff620000
#define GPIO2_PHYS 0xff630000
#define GPIO3_PHYS 0xff640000
#define GPIO4_PHYS 0xff650000
#define GIC_IRQS_NR (5 * 32)
#define GPIO_IRQS_NR (5 * 32)
#define GPIO_BANK_NUM 5
#define GPIO_BANK_PINS 32
#define IRQ_USB_OTG 117
#define IRQ_TIMER1 57
#define IRQ_GPIO0 66
#define IRQ_GPIO1 67
#define IRQ_GPIO2 68
#define IRQ_GPIO3 69
#define IRQ_GPIO4 70
#else
"Missing define RIQ relative things"
#endif

View File

@ -60,6 +60,9 @@
#elif defined(CONFIG_ROCKCHIP_RK1808)
#define TIMER_BASE (0xFF700000 + 0x20) /* TIMER 1 */
#define TIMER_IRQ IRQ_TIMER1
#elif defined(CONFIG_ROCKCHIP_RV1126)
#define TIMER_BASE (0xFF660000 + 0x20) /* TIMER 1 */
#define TIMER_IRQ IRQ_TIMER1
#else
"Missing definitions of timer module test"
#endif