요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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,vf610-pit.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Freescale Periodic Interrupt Timer (PIT)
maintainers:
- Frank Li <Frank.Li@nxp.com>
description:
The PIT module is an array of timers that can be used to raise interrupts
and trigger DMA channels.
properties:
compatible:
oneOf:
- enum:
- fsl,vf610-pit
- nxp,s32g2-pit
- items:
- const: nxp,s32g3-pit
- const: nxp,s32g2-pit
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
clock-names:
items:
- const: pit
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
additionalProperties: false
examples:
- |
#include <dt-bindings/clock/vf610-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
timer@40037000 {
compatible = "fsl,vf610-pit";
reg = <0x40037000 0x1000>;
interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks VF610_CLK_PIT>;
clock-names = "pit";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Freescale Periodic Interrupt Timer
1-15GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Freescale Periodic Interrupt Timer(PIT)를 정의합니다. PIT module은 interrupt를 발생시키고 DMA channel을 trigger할 수 있는 timer 배열입니다. Maintainer는 Frank Li입니다.
VF610·S32G compatible과 pit clock
16-47`compatible`은 `fsl,vf610-pit` 또는 `nxp,s32g2-pit`을 단독 사용하거나, S32G3의 경우 `nxp,s32g3-pit` 뒤에 `nxp,s32g2-pit` fallback을 둡니다. `reg`, `interrupts`, `clocks`는 각각 최대 한 항목이고 `clock-names`의 유일한 값은 `pit`입니다. `compatible`, `reg`, `interrupts`, `clocks`, `clock-names`가 모두 필수이며 추가 속성은 허용되지 않습니다.
properties:
compatible:
oneOf:
- enum:
- fsl,vf610-pit
- nxp,s32g2-pit
- items:
- const: nxp,s32g3-pit
- const: nxp,s32g2-pit
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
clock-names:
items:
- const: pit
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
additionalProperties: false
VF610 PIT 예제
48-59예제는 `timer@40037000`에 0x1000-byte register 영역, level-high interrupt 39, `VF610_CLK_PIT` clock을 지정하고 clock 이름을 `pit`으로 설정합니다.
examples:
- |
#include <dt-bindings/clock/vf610-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
timer@40037000 {
compatible = "fsl,vf610-pit";
reg = <0x40037000 0x1000>;
interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks VF610_CLK_PIT>;
clock-names = "pit";
};
요약과 해설
fsl,vf610-pit.yaml:1-59VF610·S32G PIT의 compatible과 interrupt·DMA timer 배열을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.