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

Linux 6.18.37 · Devicetree Bindings / Watchdog

ARM Timer-Watchdog

ARM11MP·Cortex-A5·A9의 per-CPU Timer-Watchdog와 GIC 연결을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

arm,twd-wdt.yaml:1-50

ARM11MP·Cortex-A5·A9의 per-CPU Timer-Watchdog와 GIC 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, 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/arm,twd-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ARM Timer-Watchdog Watchdog
8
9 maintainers:
10 - Rob Herring <robh@kernel.org>
11
12 description:
13 ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core
14 Timer-Watchdog (aka TWD), which provides both a per-cpu local timer
15 and watchdog.
16
17 The TWD is usually attached to a GIC to deliver its two per-processor
18 interrupts.
19
20 properties:
21 compatible:
22 enum:
23 - arm,cortex-a9-twd-wdt
24 - arm,cortex-a5-twd-wdt
25 - arm,arm11mp-twd-wdt
26
27 reg:
28 maxItems: 1
29
30 interrupts:
31 maxItems: 1
32
33 clocks:
34 maxItems: 1
35
36 required:
37 - compatible
38 - reg
39
40 additionalProperties: false
41
42 examples:
43 - |
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45
46 watchdog@2c000620 {
47 compatible = "arm,arm11mp-twd-wdt";
48 reg = <0x2c000620 0x20>;
49 interrupts = <GIC_PPI 14 0xf01>;
50 };
51

3. 한국어 전문 번역

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

ARM Timer-Watchdog

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 ARM Timer-Watchdog(TWD)를 정의합니다. 관리자는 Rob Herring입니다.

per-CPU local timer와 워치독

12-19

ARM11MP, Cortex-A5, Cortex-A9에는 코어별 Timer-Watchdog가 함께 제공되는 경우가 많습니다. TWD는 per-CPU local timer와 watchdog 기능을 모두 제공하며, 일반적으로 GIC에 연결되어 프로세서별 interrupt 두 개를 전달합니다.

CPU 계열 호환성과 선택 자원

20-41

`compatible`은 `arm,cortex-a9-twd-wdt`, `arm,cortex-a5-twd-wdt`, `arm,arm11mp-twd-wdt` 중 하나입니다. `reg`, `interrupts`, `clocks`는 각각 최대 하나입니다.

`compatible`과 `reg`만 필수이므로 interrupt와 clock은 선택 사항입니다. 이 문서에 정의되지 않은 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    enum:
      - arm,cortex-a9-twd-wdt
      - arm,cortex-a5-twd-wdt
      - arm,arm11mp-twd-wdt

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

ARM11MP GIC PPI 예제

42-50

예제는 주소 `0x2c000620`, 길이 `0x20`인 ARM11MP TWD 워치독에 GIC PPI 14와 플래그 `0xf01`을 지정합니다.

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    watchdog@2c000620 {
        compatible = "arm,arm11mp-twd-wdt";
        reg = <0x2c000620 0x20>;
        interrupts = <GIC_PPI 14 0xf01>;
    };