zephyr/dts/bindings/test/vnd,gpio-intc-device.yaml
Bjarki Arge Andreasen 4403d8f4c6 tests: lib: devicetree: api: Add tests for IRQ_INTC_* macros
Extend api test suite to cover the new devicetree macros. This
includes extending the devicetree overlay with two new bindings:

- GPIO device which is also an interrupt controller
- interrupt holder using interrupts-extended to point to both
  existing interrupt controller test_intc, and the newly added
  GPIO device

Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
2024-01-17 13:18:00 +01:00

30 lines
408 B
YAML

# Copyright (c) 2023 Bjarki Arge Andreasen
# SPDX-License-Identifier: Apache-2.0
description: Test GPIO with INTC node
compatible: "vnd,gpio-intc-device"
include:
- gpio-controller.yaml
- interrupt-controller.yaml
- base.yaml
properties:
reg:
required: true
"#gpio-cells":
const: 2
"#interrupt-cells":
const: 2
gpio-cells:
- pin
- flags
interrupt-cells:
- pin
- flags