← Documents Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

Toshiba Visconti PIUWDT

Visconti PIUWDT의 register, clock, timeout과 TMPV770X 예제를 설명합니다.

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

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

toshiba,visconti-wdt.yaml:1-48

Visconti PIUWDT의 register, clock, timeout과 TMPV770X 예제를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, node 이름, compatible, register, clock, interrupt, reset, reserved memory, timeout과 예제는 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2020 Toshiba Electronic Devices & Storage Corporation
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/watchdog/toshiba,visconti-wdt.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Toshiba Visconti SoCs PIUWDT Watchdog timer
9
10 maintainers:
11 - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
12
13 allOf:
14 - $ref: watchdog.yaml#
15
16 properties:
17 compatible:
18 enum:
19 - toshiba,visconti-wdt
20
21 reg:
22 maxItems: 1
23
24 clocks:
25 maxItems: 1
26
27 required:
28 - compatible
29 - reg
30 - clocks
31
32 unevaluatedProperties: false
33
34 examples:
35 - |
36 #include <dt-bindings/clock/toshiba,tmpv770x.h>
37
38 soc {
39 #address-cells = <2>;
40 #size-cells = <2>;
41
42 wdt: watchdog@28330000 {
43 compatible = "toshiba,visconti-wdt";
44 reg = <0 0x28330000 0 0x1000>;
45 timeout-sec = <20>;
46 clocks = <&pismu TMPV770X_CLK_WDTCLK>;
47 };
48 };
49

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Toshiba Visconti PIUWDT

1-15

GPL-2.0 또는 BSD-2-Clause로 배포되는 이 스키마는 Toshiba Visconti SoC의 PIUWDT Watchdog timer를 정의합니다. 저작권은 2020년 Toshiba Electronic Devices & Storage Corporation에 있고 관리자는 Nobuhiro Iwamatsu이며, 공통 `watchdog.yaml`을 상속합니다.

Visconti 호환성과 필수 자원

16-33

`compatible`은 `toshiba,visconti-wdt`입니다. `reg`와 `clocks`는 각각 최대 한 항목입니다. `compatible`, `reg`, `clocks`는 필수이며 평가되지 않은 속성은 허용하지 않습니다.

properties:
  compatible:
    enum:
      - toshiba,visconti-wdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

unevaluatedProperties: false

TMPV770X 예제

34-48

예제는 64비트 주소·크기 cell을 사용하는 `soc` 아래에 주소 `0x28330000`, 크기 `0x1000`의 watchdog을 둡니다. timeout은 20초이고 `pismu`의 `TMPV770X_CLK_WDTCLK` clock을 연결합니다.

examples:
  - |
    #include <dt-bindings/clock/toshiba,tmpv770x.h>

    soc {
        #address-cells = <2>;
        #size-cells = <2>;

        wdt: watchdog@28330000 {
            compatible = "toshiba,visconti-wdt";
            reg = <0 0x28330000 0 0x1000>;
            timeout-sec = <20>;
            clocks = <&pismu TMPV770X_CLK_WDTCLK>;
        };
    };