요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/zii,rave-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Zodiac RAVE Watchdog Timer
maintainers:
- Martyn Welch <[email protected]>
- Guenter Roeck <[email protected]>
- Wim Van Sebroeck <[email protected]>
properties:
compatible:
const: zii,rave-wdt
reg:
maxItems: 1
description: i2c slave address of device, usually 0x38
reset-duration-ms:
description:
Duration of the pulse generated when the watchdog times
out.
required:
- compatible
- reg
allOf:
- $ref: watchdog.yaml#
unevaluatedProperties: false
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
watchdog@38 {
compatible = "zii,rave-wdt";
reg = <0x38>;
timeout-sec = <30>;
reset-duration-ms = <30>;
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Zodiac RAVE I2C Watchdog
1-13GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Zodiac RAVE Watchdog Timer를 정의합니다. 관리자는 Martyn Welch, Guenter Roeck, Wim Van Sebroeck입니다.
I2C 주소와 reset pulse 길이
14-35`compatible`은 `zii,rave-wdt`입니다. `reg`는 장치의 I2C slave address 하나이며 일반적으로 `0x38`입니다.
`reset-duration-ms`는 watchdog timeout이 발생했을 때 생성되는 pulse의 지속 시간을 밀리초 단위로 지정합니다. `compatible`과 `reg`는 필수입니다. 공통 `watchdog.yaml`을 상속하며 평가되지 않은 속성은 허용하지 않습니다.
properties:
compatible:
const: zii,rave-wdt
reg:
maxItems: 1
description: i2c slave address of device, usually 0x38
reset-duration-ms:
description:
Duration of the pulse generated when the watchdog times
out.
required:
- compatible
- reg
allOf:
- $ref: watchdog.yaml#
unevaluatedProperties: false
I2C 주소 0x38 예제
36-49예제는 1-cell 주소와 0-cell 크기를 사용하는 I2C bus 아래 주소 `0x38`에 watchdog을 둡니다. watchdog timeout과 reset pulse 길이는 모두 30으로 설정합니다.
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
watchdog@38 {
compatible = "zii,rave-wdt";
reg = <0x38>;
timeout-sec = <30>;
reset-duration-ms = <30>;
};
};
요약과 해설
zii,rave-wdt.yaml:1-49RAVE I2C watchdog 주소와 reset pulse 지속 시간을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, node 이름, compatible, register, clock, interrupt, reset, reserved memory, timeout과 예제는 원문 줄 좌표를 원형대로 보존합니다.