Documentation/devicetree/bindings/watchdog/zii,rave-wdt.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

ZII RAVE Watchdog

RAVE I2C watchdog 주소와 reset pulse 지속 시간을 설명합니다.

Source pathDocumentation/devicetree/bindings/watchdog/zii,rave-wdt.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

zii,rave-wdt.yaml:1-49

RAVE I2C watchdog 주소와 reset pulse 지속 시간을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, node 이름, compatible, register, clock, interrupt, reset, reserved memory, timeout과 예제는 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/watchdog/zii,rave-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Zodiac RAVE Watchdog Timer
8
9 maintainers:
10 - Martyn Welch <[email protected]>
11 - Guenter Roeck <[email protected]>
12 - Wim Van Sebroeck <[email protected]>
13
14 properties:
15 compatible:
16 const: zii,rave-wdt
17
18 reg:
19 maxItems: 1
20 description: i2c slave address of device, usually 0x38
21
22 reset-duration-ms:
23 description:
24 Duration of the pulse generated when the watchdog times
25 out.
26
27 required:
28 - compatible
29 - reg
30
31 allOf:
32 - $ref: watchdog.yaml#
33
34 unevaluatedProperties: false
35
36 examples:
37 - |
38 i2c {
39 #address-cells = <1>;
40 #size-cells = <0>;
41
42 watchdog@38 {
43 compatible = "zii,rave-wdt";
44 reg = <0x38>;
45 timeout-sec = <30>;
46 reset-duration-ms = <30>;
47 };
48 };
49
50

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

Zodiac RAVE I2C Watchdog

1-13

GPL-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>;
        };
    };