요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. 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/timer/arm,twd-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: ARM Timer-Watchdog Timer
maintainers:
- Rob Herring <[email protected]>
description:
ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core
Timer-Watchdog (aka TWD), which provides both a per-cpu local timer
and watchdog.
The TWD is usually attached to a GIC to deliver its two per-processor
interrupts.
properties:
compatible:
enum:
- arm,cortex-a9-twd-timer
- arm,cortex-a5-twd-timer
- arm,arm11mp-twd-timer
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
always-on:
description:
If present, the timer is powered through an always-on power domain,
therefore it never loses context.
required:
- compatible
- reg
- interrupts
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
timer@2c000600 {
compatible = "arm,arm11mp-twd-timer";
reg = <0x2c000600 0x20>;
interrupts = <GIC_PPI 13 0xf01>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
ARM Timer-Watchdog
1-19GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 ARM Timer-Watchdog, 즉 TWD를 정의합니다. ARM11MP, Cortex-A5, Cortex-A9에는 흔히 core별 TWD가 있으며 CPU별 local timer와 watchdog을 모두 제공합니다. TWD는 보통 GIC에 연결되어 두 per-processor interrupt를 전달합니다. Maintainer는 Rob Herring입니다.
Compatible과 always-on
20-47지원 compatible은 `arm,cortex-a9-twd-timer`, `arm,cortex-a5-twd-timer`, `arm,arm11mp-twd-timer`입니다. `reg`, `interrupts`, `clocks`는 각각 최대 한 항목입니다. `always-on`이 있으면 timer가 always-on power domain에서 동작해 context를 잃지 않습니다. 필수 속성은 `compatible`, `reg`, `interrupts`이며 `clocks`는 선택 사항입니다.
properties:
compatible:
enum:
- arm,cortex-a9-twd-timer
- arm,cortex-a5-twd-timer
- arm,arm11mp-twd-timer
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
always-on:
description:
If present, the timer is powered through an always-on power domain,
therefore it never loses context.
required:
- compatible
- reg
- interrupts
additionalProperties: false
ARM11MP TWD 예제
48-56예제는 `timer@2c000600`에 0x20-byte register 영역을 두고 GIC PPI 13을 연결합니다.
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
timer@2c000600 {
compatible = "arm,arm11mp-twd-timer";
reg = <0x2c000600 0x20>;
interrupts = <GIC_PPI 13 0xf01>;
};
요약과 해설
arm,twd-timer.yaml:1-56ARM11MP·Cortex-A5·A9 TWD의 local timer와 watchdog 자원을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.