요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/xlnx,versal-wwdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Xilinx Versal window watchdog timer controller
maintainers:
- Neeli Srinivas <[email protected]>
description:
Versal watchdog intellectual property uses window watchdog mode.
Window watchdog timer(WWDT) contains closed(first) and open(second)
window with 32 bit width. Write to the watchdog timer within
predefined window periods of time. This means a period that is not
too soon and a period that is not too late. The WWDT has to be
restarted within the open window time. If software tries to restart
WWDT outside of the open window time period, it generates a reset.
allOf:
- $ref: watchdog.yaml#
properties:
compatible:
enum:
- xlnx,versal-wwdt
reg:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
- clocks
unevaluatedProperties: false
examples:
- |
watchdog@fd4d0000 {
compatible = "xlnx,versal-wwdt";
reg = <0xfd4d0000 0x10000>;
clocks = <&clock25>;
timeout-sec = <30>;
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Versal window watchdog 동작
1-23GPL-2.0 또는 BSD-2-Clause로 배포되는 이 스키마는 Xilinx Versal window watchdog timer controller를 정의합니다. 관리자는 Neeli Srinivas이며 공통 `watchdog.yaml`을 상속합니다.
Versal watchdog IP는 window watchdog mode를 사용합니다. WWDT는 각각 32비트 폭인 closed window(첫 번째)와 open window(두 번째)를 가집니다. software는 너무 이르지도 늦지도 않은 미리 정한 시간 구간 안에서 watchdog timer에 써야 합니다.
WWDT는 open window 시간 안에 restart해야 합니다. software가 open window 밖에서 WWDT를 restart하려 하면 reset을 생성합니다.
Versal 필수 자원
24-41`compatible`은 `xlnx,versal-wwdt`입니다. `reg`와 `clocks`는 각각 최대 한 항목입니다. `compatible`, `reg`, `clocks`는 필수이며 평가되지 않은 속성은 허용하지 않습니다.
properties:
compatible:
enum:
- xlnx,versal-wwdt
reg:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
- clocks
unevaluatedProperties: false
Versal WWDT 예제
42-50예제는 주소 `0xfd4d0000`, 크기 `0x10000`의 Versal WWDT에 `clock25`를 연결하고 timeout을 30초로 설정합니다.
examples:
- |
watchdog@fd4d0000 {
compatible = "xlnx,versal-wwdt";
reg = <0xfd4d0000 0x10000>;
clocks = <&clock25>;
timeout-sec = <30>;
};
...
요약과 해설
xlnx,versal-wwdt.yaml:1-50Versal WWDT의 closed·open window와 허용된 restart 구간을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, node 이름, compatible, register, clock, interrupt, reset, reserved memory, timeout과 예제는 원문 줄 좌표를 원형대로 보존합니다.