Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arm-gic.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Lexmark International, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H_
14#define ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H_
15
17
35
42#define GIC_INT_VIRT_MAINT 25
43#define GIC_INT_HYP_TIMER 26
44#define GIC_INT_VIRT_TIMER 27
45#define GIC_INT_LEGACY_FIQ 28
46#define GIC_INT_PHYS_TIMER 29
47#define GIC_INT_NS_PHYS_TIMER 30
48#define GIC_INT_LEGACY_IRQ 31
50
51/* BIT(0) reserved for IRQ_ZERO_LATENCY */
52#define IRQ_TYPE_LEVEL BIT(1)
53#define IRQ_TYPE_EDGE BIT(2)
54
55#define GIC_SPI 0x0
56#define GIC_PPI 0x1
57
58#define IRQ_DEFAULT_PRIORITY 0xa0
59
61
62#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H_ */