요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
7
title: Timer present in Ralink family SoCs
9
maintainers:
10
- Sergio Paracuellos <[email protected]>
12
properties:
13
compatible:
14
const: ralink,rt2880-timer
16
reg:
17
maxItems: 1
19
clocks:
20
maxItems: 1
22
interrupts:
23
maxItems: 1
25
required:
26
- compatible
27
- reg
28
- clocks
29
- interrupts
31
additionalProperties: false
33
examples:
34
- |
35
timer@100 {
36
compatible = "ralink,rt2880-timer";
37
reg = <0x100 0x20>;
39
clocks = <&sysc 3>;
41
interrupt-parent = <&intc>;
42
interrupts = <1>;
43
};
44
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Ralink RT2880 timer
1-11GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Ralink 계열 SoC에 있는 timer를 정의합니다. Maintainer는 Sergio Paracuellos입니다.
RT2880 timer 속성
12-32`compatible`은 `ralink,rt2880-timer`입니다. `reg`, `clocks`, `interrupts`는 각각 최대 한 항목이며 네 속성이 모두 필수입니다. 추가 속성은 허용되지 않습니다.
properties:
compatible:
const: ralink,rt2880-timer
reg:
maxItems: 1
clocks:
maxItems: 1
interrupts:
maxItems: 1
required:
- compatible
- reg
- clocks
- interrupts
additionalProperties: false
RT2880 timer 예제
33-44예제는 `timer@100`에 0x20-byte register 영역을 두고 `sysc` clock index 3을 연결합니다. `intc`를 interrupt parent로 사용하며 interrupt 1을 지정합니다.
examples:
- |
timer@100 {
compatible = "ralink,rt2880-timer";
reg = <0x100 0x20>;
clocks = <&sysc 3>;
interrupt-parent = <&intc>;
interrupts = <1>;
};
...
요약과 해설
ralink,rt2880-timer.yaml:1-44Ralink RT2880 timer의 clock·register·interrupt 구성을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.