Added new test for `DT_IRQ_LEVEL` and `DT_INST_IRQ_LEVEL`. Introduced a new `vnd.cpu-intc` compatible so that we have a root level interrupt controller that acts as level 1 aggregator, and modified `test_intc` to be level 2 aggregator, updated test of `DT_IRQN(TEST_I2C_BUS)` accordingly. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
16 lines
259 B
YAML
16 lines
259 B
YAML
# Copyright (c) 2023 Meta
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Test CPU Interrupt Controller
|
|
|
|
compatible: "vnd,cpu-intc"
|
|
|
|
include: [interrupt-controller.yaml, base.yaml]
|
|
|
|
properties:
|
|
"#interrupt-cells":
|
|
const: 1
|
|
|
|
interrupt-cells:
|
|
- irq
|