timer0/1 IRQ information was hardcoded in soc.h, however, Devicetree is nowadays a better place to describe hardware. Note that I have followed existing upstream Linux code to do these changes. Ref. - https://elixir.bootlin.com/linux/latest/source/arch/arc/boot/dts/ hsdk.dts - https://elixir.bootlin.com/linux/latest/source/Documentation/ devicetree/bindings/timer/snps,arc-timer.txt Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
14 lines
251 B
YAML
14 lines
251 B
YAML
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
Synopsys ARC Local Timer with Interrupt Capabilities
|
|
|
|
compatible: "snps,arc-timer"
|
|
|
|
include: base.yaml
|
|
|
|
properties:
|
|
interrupts:
|
|
required: true
|