mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

Like SG2042, SG2044 implements an enhanced ACLINT, so add necessary compatible string for SG2044 SoC. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250413223507.46480-3-inochiama@gmail.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/timer/thead,c900-aclint-mtimer.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Sophgo CLINT Timer
|
|
|
|
maintainers:
|
|
- Inochi Amaoto <inochiama@outlook.com>
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- sophgo,sg2042-aclint-mtimer
|
|
- sophgo,sg2044-aclint-mtimer
|
|
- const: thead,c900-aclint-mtimer
|
|
|
|
reg:
|
|
items:
|
|
- description: MTIMECMP Registers
|
|
|
|
reg-names:
|
|
items:
|
|
- const: mtimecmp
|
|
|
|
interrupts-extended:
|
|
minItems: 1
|
|
maxItems: 4095
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- reg-names
|
|
- interrupts-extended
|
|
|
|
examples:
|
|
- |
|
|
timer@ac000000 {
|
|
compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
|
|
interrupts-extended = <&cpu1intc 7>,
|
|
<&cpu2intc 7>,
|
|
<&cpu3intc 7>,
|
|
<&cpu4intc 7>;
|
|
reg = <0xac000000 0x00010000>;
|
|
reg-names = "mtimecmp";
|
|
};
|
|
...
|