요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/marvell,orion-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell Orion SoC timer
maintainers:
- Andrew Lunn <[email protected]>
- Gregory Clement <[email protected]>
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
examples:
- |
timer@20300 {
compatible = "marvell,orion-timer";
reg = <0x20300 0x20>;
interrupts = <1>, <2>;
clocks = <&core_clk 0>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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, 수치와 줄 좌표를 원형대로 보존합니다.