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>
30 lines
408 B
YAML
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
|