← Documents Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

Faraday FTWDT010 Watchdog

FTWDT010의 Gemini·MOXART fallback과 reset·PCLK·interrupt 자원을 설명합니다.

Source pathDocumentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

faraday,ftwdt010.yaml:1-67

FTWDT010의 Gemini·MOXART fallback과 reset·PCLK·interrupt 자원을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, 예제와 원문 줄 좌표를 원형대로 보존합니다.

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/faraday,ftwdt010.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Faraday Technology FTWDT010 watchdog
8
9 maintainers:
10 - Linus Walleij <linus.walleij@linaro.org>
11 - Corentin Labbe <clabbe@baylibre.com>
12
13 description: |
14 This is an IP part from Faraday Technology found in the Gemini
15 SoCs and others.
16
17 allOf:
18 - $ref: watchdog.yaml#
19
20 properties:
21 compatible:
22 oneOf:
23 - const: faraday,ftwdt010
24 - items:
25 - enum:
26 - cortina,gemini-watchdog
27 - moxa,moxart-watchdog
28 - const: faraday,ftwdt010
29
30 reg:
31 maxItems: 1
32
33 resets:
34 maxItems: 1
35
36 clocks:
37 maxItems: 1
38
39 clock-names:
40 const: PCLK
41
42 interrupts:
43 maxItems: 1
44
45 required:
46 - compatible
47 - reg
48
49 unevaluatedProperties: false
50
51 examples:
52 - |
53 #include <dt-bindings/interrupt-controller/irq.h>
54 watchdog@41000000 {
55 compatible = "faraday,ftwdt010";
56 reg = <0x41000000 0x1000>;
57 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
58 timeout-sec = <5>;
59 };
60 - |
61 watchdog: watchdog@98500000 {
62 compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
63 reg = <0x98500000 0x10>;
64 clocks = <&clk_apb>;
65 clock-names = "PCLK";
66 };
67 ...
68

3. 한국어 전문 번역

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

Faraday FTWDT010 워치독

1-16

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Faraday Technology FTWDT010 워치독 IP를 정의합니다. 이 IP는 Gemini SoC와 그 밖의 시스템에 포함됩니다. 관리자는 Linus Walleij와 Corentin Labbe입니다.

Gemini·MOXART fallback과 PCLK

17-50

공통 `watchdog.yaml`을 상속합니다. `faraday,ftwdt010`을 직접 사용하거나 `cortina,gemini-watchdog`, `moxa,moxart-watchdog` 중 하나 뒤에 `faraday,ftwdt010` fallback을 둡니다.

`reg`, `resets`, `clocks`, `interrupts`는 각각 최대 하나입니다. 클록 이름은 `PCLK`로 고정합니다. `compatible`과 `reg`만 필수이며 평가되지 않은 추가 속성은 허용하지 않습니다.

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    oneOf:
      - const: faraday,ftwdt010
      - items:
          - enum:
              - cortina,gemini-watchdog
              - moxa,moxart-watchdog
          - const: faraday,ftwdt010

  reg:
    maxItems: 1

  resets:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    const: PCLK

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

FTWDT010·MOXART 예제

51-67

첫 예제는 주소 `0x41000000`의 순수 FTWDT010에 level-high interrupt 3과 5초 timeout을 설정합니다. 둘째 예제는 주소 `0x98500000`의 MOXART 워치독에 Faraday fallback과 APB 클록을 연결하고 이름을 `PCLK`로 지정합니다.

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    watchdog@41000000 {
        compatible = "faraday,ftwdt010";
        reg = <0x41000000 0x1000>;
        interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
        timeout-sec = <5>;
    };
  - |
    watchdog: watchdog@98500000 {
        compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
        reg = <0x98500000 0x10>;
        clocks = <&clk_apb>;
        clock-names = "PCLK";
    };
...