요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/watchdog/arm,twd-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: ARM Timer-Watchdog Watchdog
maintainers:
- Rob Herring <robh@kernel.org>
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-wdt
- arm,cortex-a5-twd-wdt
- arm,arm11mp-twd-wdt
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
watchdog@2c000620 {
compatible = "arm,arm11mp-twd-wdt";
reg = <0x2c000620 0x20>;
interrupts = <GIC_PPI 14 0xf01>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ARM Timer-Watchdog
1-11GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 ARM Timer-Watchdog(TWD)를 정의합니다. 관리자는 Rob Herring입니다.
per-CPU local timer와 워치독
12-19ARM11MP, Cortex-A5, Cortex-A9에는 코어별 Timer-Watchdog가 함께 제공되는 경우가 많습니다. TWD는 per-CPU local timer와 watchdog 기능을 모두 제공하며, 일반적으로 GIC에 연결되어 프로세서별 interrupt 두 개를 전달합니다.
CPU 계열 호환성과 선택 자원
20-41`compatible`은 `arm,cortex-a9-twd-wdt`, `arm,cortex-a5-twd-wdt`, `arm,arm11mp-twd-wdt` 중 하나입니다. `reg`, `interrupts`, `clocks`는 각각 최대 하나입니다.
`compatible`과 `reg`만 필수이므로 interrupt와 clock은 선택 사항입니다. 이 문서에 정의되지 않은 추가 속성은 허용하지 않습니다.
properties:
compatible:
enum:
- arm,cortex-a9-twd-wdt
- arm,cortex-a5-twd-wdt
- arm,arm11mp-twd-wdt
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
additionalProperties: false
ARM11MP GIC PPI 예제
42-50예제는 주소 `0x2c000620`, 길이 `0x20`인 ARM11MP TWD 워치독에 GIC PPI 14와 플래그 `0xf01`을 지정합니다.
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
watchdog@2c000620 {
compatible = "arm,arm11mp-twd-wdt";
reg = <0x2c000620 0x20>;
interrupts = <GIC_PPI 14 0xf01>;
};
요약과 해설
arm,twd-wdt.yaml:1-50ARM11MP·Cortex-A5·A9의 per-CPU Timer-Watchdog와 GIC 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, 예제와 원문 줄 좌표를 원형대로 보존합니다.