요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/fsl,timrot.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Freescale MXS Timer
maintainers:
- Frank Li <[email protected]>
properties:
compatible:
items:
- enum:
- fsl,imx23-timrot
- fsl,imx28-timrot
- const: fsl,timrot
reg:
maxItems: 1
interrupts:
items:
- description: irq for timer0
- description: irq for timer1
- description: irq for timer2
- description: irq for timer3
clocks:
maxItems: 1
required:
- compatible
- reg
- interrupts
- clocks
additionalProperties: false
examples:
- |
timer: timer@80068000 {
compatible = "fsl,imx28-timrot", "fsl,timrot";
reg = <0x80068000 0x2000>;
interrupts = <48>, <49>, <50>, <51>;
clocks = <&clks 26>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Freescale MXS TIMROT
1-11GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Freescale MXS Timer(TIMROT)를 정의합니다. Maintainer는 Frank Li입니다.
i.MX23·i.MX28 fallback과 네 timer IRQ
12-40`compatible`은 `fsl,imx23-timrot` 또는 `fsl,imx28-timrot` 뒤에 `fsl,timrot` fallback을 둡니다. `reg`와 `clocks`는 각각 최대 한 항목이며, `interrupts`는 timer0부터 timer3까지 네 IRQ를 순서대로 담습니다. `compatible`, `reg`, `interrupts`, `clocks`가 모두 필수이고 추가 속성은 허용되지 않습니다.
properties:
compatible:
items:
- enum:
- fsl,imx23-timrot
- fsl,imx28-timrot
- const: fsl,timrot
reg:
maxItems: 1
interrupts:
items:
- description: irq for timer0
- description: irq for timer1
- description: irq for timer2
- description: irq for timer3
clocks:
maxItems: 1
required:
- compatible
- reg
- interrupts
- clocks
additionalProperties: false
i.MX28 TIMROT 예제
41-48예제는 label `timer`가 붙은 `timer@80068000`에 i.MX28 compatible과 generic fallback, 0x2000-byte register 영역, interrupt 48·49·50·51, `clks` index 26을 지정합니다.
examples:
- |
timer: timer@80068000 {
compatible = "fsl,imx28-timrot", "fsl,timrot";
reg = <0x80068000 0x2000>;
interrupts = <48>, <49>, <50>, <51>;
clocks = <&clks 26>;
};
요약과 해설
fsl,timrot.yaml:1-48MXS TIMROT의 i.MX23·i.MX28 fallback과 네 timer IRQ를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.