요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/nxp,lpc3220-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: NXP LPC3220 timer
maintainers:
- Animesh Agarwal <animeshagarwal28@gmail.com>
description: |
The NXP LPC3220 timer is used on a wide range of NXP SoCs. This includes
LPC32xx, LPC178x, LPC18xx and LPC43xx parts.
properties:
compatible:
const: nxp,lpc3220-timer
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
clock-names:
const: timerclk
resets:
maxItems: 1
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
additionalProperties: false
examples:
- |
#include <dt-bindings/clock/lpc32xx-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
timer@4004c000 {
compatible = "nxp,lpc3220-timer";
reg = <0x4004c000 0x1000>;
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
clocks = <&clk LPC32XX_CLK_TIMER1>;
clock-names = "timerclk";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
NXP LPC3220 timer
1-15GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 LPC32xx, LPC178x, LPC18xx, LPC43xx 등 여러 NXP SoC에서 쓰이는 LPC3220 timer를 정의합니다. Maintainer는 Animesh Agarwal입니다.
Timer clock과 선택 reset
16-43`compatible`은 `nxp,lpc3220-timer`입니다. `reg`, `interrupts`, `clocks`, 선택적인 `resets`는 각각 최대 한 항목이고 clock 이름은 `timerclk`입니다. `compatible`, `reg`, `interrupts`, `clocks`, `clock-names`가 필수이며 추가 속성은 허용되지 않습니다.
properties:
compatible:
const: nxp,lpc3220-timer
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
clock-names:
const: timerclk
resets:
maxItems: 1
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
additionalProperties: false
LPC32xx timer1 예제
44-55예제는 `timer@4004c000`에 0x1000-byte register 영역, interrupt 17 level-low, `LPC32XX_CLK_TIMER1` clock을 지정하고 이름을 `timerclk`으로 설정합니다.
examples:
- |
#include <dt-bindings/clock/lpc32xx-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
timer@4004c000 {
compatible = "nxp,lpc3220-timer";
reg = <0x4004c000 0x1000>;
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
clocks = <&clk LPC32XX_CLK_TIMER1>;
clock-names = "timerclk";
};
요약과 해설
nxp,lpc3220-timer.yaml:1-55LPC3220 timer의 timerclk과 선택 reset을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.