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:
Kumar Gala 2020-03-27 12:22:55 -05:00 committed by Kumar Gala
commit 4192254ef2
7 changed files with 42 additions and 15 deletions

View 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