요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# 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";
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Sophgo CLINT Timer
1-11GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Sophgo SoC의 T-Head C900 ACLINT machine timer를 정의합니다. Maintainer는 Inochi Amaoto입니다.
MTIMECMP register와 HART interrupt
12-39Sophgo SG2042와 SG2044는 각각 `sophgo,sg2042-aclint-mtimer` 또는 `sophgo,sg2044-aclint-mtimer` 뒤에 `thead,c900-aclint-mtimer` fallback을 둡니다. `reg`는 `MTIMECMP` register 영역 한 개이고 `reg-names`는 `mtimecmp`입니다. `interrupts-extended`는 최소 1개, 최대 4095개 항목을 허용합니다. 네 속성이 모두 필수이며 추가 속성은 허용하지 않습니다.
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
SG2042의 네 HART timer interrupt
40-51예제 `timer@ac000000`은 SG2042 compatible과 T-Head fallback, 0x10000-byte `mtimecmp` register 영역을 사용합니다. CPU1부터 CPU4까지 각 local interrupt controller에 machine timer interrupt 7을 연결합니다.
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";
};
...
요약과 해설
thead,c900-aclint-mtimer.yaml:1-51Sophgo의 T-Head C900 ACLINT MTIMECMP와 HART interrupt 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.