요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/marvell,orion-timer.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
7
title: Marvell Orion SoC timer
9
maintainers:
10
- Andrew Lunn <andrew@lunn.ch>
11
- Gregory Clement <gregory.clement@bootlin.com>
13
properties:
14
compatible:
15
const: marvell,orion-timer
17
reg:
18
maxItems: 1
20
clocks:
21
maxItems: 1
23
interrupts:
24
items:
25
- description: Timer0 interrupt
26
- description: Timer1 interrupt
28
required:
29
- compatible
30
- reg
31
- interrupts
32
- clocks
34
additionalProperties: false
36
examples:
37
- |
38
timer@20300 {
39
compatible = "marvell,orion-timer";
40
reg = <0x20300 0x20>;
41
interrupts = <1>, <2>;
42
clocks = <&core_clk 0>;
43
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Marvell Orion timer
1-12GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Marvell Orion SoC timer를 정의합니다. Maintainer는 Andrew Lunn과 Gregory Clement입니다.
Timer0·Timer1 interrupt
13-35`compatible`은 `marvell,orion-timer`입니다. `reg`와 `clocks`는 각각 최대 한 항목이며 `interrupts`는 Timer0, Timer1 interrupt 두 개를 순서대로 담습니다. `compatible`, `reg`, `interrupts`, `clocks`가 모두 필수이고 추가 속성은 허용되지 않습니다.
properties:
compatible:
const: marvell,orion-timer
reg:
maxItems: 1
clocks:
maxItems: 1
interrupts:
items:
- description: Timer0 interrupt
- description: Timer1 interrupt
required:
- compatible
- reg
- interrupts
- clocks
additionalProperties: false
Orion core clock 예제
36-43예제는 `timer@20300`에 0x20-byte register 영역, interrupt 1·2, `core_clk` index 0을 지정합니다.
examples:
- |
timer@20300 {
compatible = "marvell,orion-timer";
reg = <0x20300 0x20>;
interrupts = <1>, <2>;
clocks = <&core_clk 0>;
};
요약과 해설
marvell,orion-timer.yaml:1-43Marvell Orion timer의 Timer0·Timer1 interrupt를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.