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

Linux 6.18.37 · Devicetree Bindings / Watchdog

TI DaVinci/Keystone Watchdog

DaVinci와 Keystone watchdog의 fallback 호환성, 전원과 clock 속성을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

ti,davinci-wdt.yaml:1-55

DaVinci와 Keystone watchdog의 fallback 호환성, 전원과 clock 속성을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, 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/ti,davinci-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: TI DaVinci/Keystone Watchdog Timer Controller
8
9 maintainers:
10 - Kousik Sanagavarapu <[email protected]>
11
12 description: |
13 TI's Watchdog Timer Controller for DaVinci and Keystone Processors.
14
15 Datasheets
16
17 Davinci DM646x - https://www.ti.com/lit/ug/spruer5b/spruer5b.pdf
18 Keystone - https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf
19
20 allOf:
21 - $ref: watchdog.yaml#
22
23 properties:
24 compatible:
25 oneOf:
26 - items:
27 - const: ti,keystone-wdt
28 - const: ti,davinci-wdt
29 - items:
30 - const: ti,davinci-wdt
31
32 reg:
33 maxItems: 1
34
35 power-domains:
36 maxItems: 1
37
38 clocks:
39 maxItems: 1
40
41 required:
42 - compatible
43 - reg
44
45 unevaluatedProperties: false
46
47 examples:
48 - |
49 wdt: watchdog@22f0080 {
50 compatible = "ti,keystone-wdt", "ti,davinci-wdt";
51 reg = <0x022f0080 0x80>;
52 clocks = <&clkwdtimer0>;
53 };
54
55 ...
56

3. 한국어 전문 번역

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

TI DaVinci와 Keystone Watchdog

1-22

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 TI DaVinci 및 Keystone processor용 Watchdog Timer Controller를 정의합니다. 관리자는 Kousik Sanagavarapu이며 공통 `watchdog.yaml`을 상속합니다.

하드웨어 세부 사항은 DaVinci DM646x 데이터시트 `https://www.ti.com/lit/ug/spruer5b/spruer5b.pdf`와 Keystone 데이터시트 `https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf`를 참고합니다.

호환성, register와 전원·clock

23-46

`compatible`은 DaVinci에서 `ti,davinci-wdt` 하나를 사용합니다. Keystone에서는 `ti,keystone-wdt` 뒤에 `ti,davinci-wdt`를 fallback으로 둡니다.

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

properties:
  compatible:
    oneOf:
      - items:
          - const: ti,keystone-wdt
          - const: ti,davinci-wdt
      - items:
          - const: ti,davinci-wdt

  reg:
    maxItems: 1

  power-domains:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

Keystone 예제

47-55

예제는 주소 `0x022f0080`, 크기 `0x80`의 Keystone watchdog에 `ti,davinci-wdt` fallback을 함께 지정하고 `clkwdtimer0` clock을 연결합니다.

examples:
  - |
    wdt: watchdog@22f0080 {
        compatible = "ti,keystone-wdt", "ti,davinci-wdt";
        reg = <0x022f0080 0x80>;
        clocks = <&clkwdtimer0>;
    };

...