요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/ezchip,nps400-timer.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
7
title: EZChip NPS400 Timers
9
maintainers:
10
- Noam Camus <[email protected]>
12
properties:
13
compatible:
14
enum:
15
- ezchip,nps400-timer0
16
- ezchip,nps400-timer1
18
interrupts:
19
maxItems: 1
21
clocks:
22
maxItems: 1
24
required:
25
- compatible
26
- clocks
28
additionalProperties: false
30
allOf:
31
- if:
32
properties:
33
compatible:
34
contains:
35
const: ezchip,nps400-timer0
36
then:
37
required: [ interrupts ]
39
examples:
40
- |
41
timer {
42
compatible = "ezchip,nps400-timer0";
43
interrupts = <3>;
44
clocks = <&sysclk>;
45
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
EZChip NPS400 timer
1-11GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 EZChip NPS400 timer를 정의합니다. Maintainer는 Noam Camus입니다.
Timer0 interrupt 조건
12-38`compatible`은 `ezchip,nps400-timer0` 또는 `ezchip,nps400-timer1`입니다. `interrupts`와 `clocks`는 각각 최대 한 항목이고, 공통 필수 속성은 `compatible`과 `clocks`입니다. 단, timer0 compatible을 사용하면 `interrupts`도 반드시 지정해야 합니다. 추가 속성은 허용되지 않습니다.
properties:
compatible:
enum:
- ezchip,nps400-timer0
- ezchip,nps400-timer1
interrupts:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- clocks
additionalProperties: false
allOf:
- if:
properties:
compatible:
contains:
const: ezchip,nps400-timer0
then:
required: [ interrupts ]
NPS400 timer0 예제
39-45예제의 timer0 node는 interrupt 3과 `sysclk`을 연결합니다.
examples:
- |
timer {
compatible = "ezchip,nps400-timer0";
interrupts = <3>;
clocks = <&sysclk>;
};
요약과 해설
ezchip,nps400-timer.yaml:1-45NPS400 timer0·timer1과 timer0 interrupt 조건을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.