dts: nios2: Add interrupt controller support in dts
Added properties to support the core interrupt controller on the NIOS2 cpu cores and enable that support for the NS16550 UART. We rename some compatibles so that the cpu core compatibles is unique. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
92d927691c
commit
4192254ef2
7 changed files with 42 additions and 15 deletions
15
dts/bindings/cpu/qemu,nios2-zephyr.yaml
Normal file
15
dts/bindings/cpu/qemu,nios2-zephyr.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: QEMU NIOS2 Zephyr CPU
|
||||
|
||||
compatible: "qemu,nios2-zephyr"
|
||||
|
||||
include: [interrupt-controller.yaml, base.yaml]
|
||||
|
||||
properties:
|
||||
"#interrupt-cells":
|
||||
const: 1
|
||||
|
||||
interrupt-cells:
|
||||
- irq
|
Loading…
Add table
Add a link
Reference in a new issue