Documentation/devicetree/bindings/watchdog/marvell,armada-3700-wdt.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

Marvell Armada 37xx CPU Watchdog

Armada 37xx CPU 워치독의 레지스터·클록·시스템 컨트롤러 연결을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

marvell,armada-3700-wdt.yaml:1-41

Armada 37xx CPU 워치독의 레지스터·클록·시스템 컨트롤러 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, GPIO, 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/marvell,armada-3700-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Armada 37xx CPU Watchdog Timer Controller
8
9 maintainers:
10 - Marek Behún <[email protected]>
11
12 properties:
13 compatible:
14 const: marvell,armada-3700-wdt
15
16 reg:
17 maxItems: 1
18
19 clocks:
20 maxItems: 1
21
22 marvell,system-controller:
23 description: Reference to syscon node for the CPU Miscellaneous Registers
24 $ref: /schemas/types.yaml#/definitions/phandle
25
26 required:
27 - compatible
28 - reg
29 - clocks
30 - marvell,system-controller
31
32 additionalProperties: false
33
34 examples:
35 - |
36 watchdog@8300 {
37 compatible = "marvell,armada-3700-wdt";
38 reg = <0x8300 0x40>;
39 marvell,system-controller = <&cpu_misc>;
40 clocks = <&xtalclk>;
41 };
42

3. 한국어 전문 번역

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

Armada 37xx CPU 워치독

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Armada 37xx CPU Watchdog Timer Controller의 장치 트리 표현을 정의합니다. 관리자는 Marek Behún입니다.

레지스터·클록·시스템 컨트롤러

12-33

`compatible`은 `marvell,armada-3700-wdt`이고, `reg`와 `clocks`는 각각 항목을 하나만 받습니다.

`marvell,system-controller`는 CPU Miscellaneous Registers를 제공하는 syscon 노드를 참조하는 phandle입니다. `compatible`, `reg`, `clocks`, `marvell,system-controller`가 모두 필수이며 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    const: marvell,armada-3700-wdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  marvell,system-controller:
    description: Reference to syscon node for the CPU Miscellaneous Registers
    $ref: /schemas/types.yaml#/definitions/phandle

required:
  - compatible
  - reg
  - clocks
  - marvell,system-controller

additionalProperties: false

Armada 37xx 예제

34-41

예제는 오프셋 `0x8300`, 길이 `0x40`인 워치독에 `cpu_misc` 시스템 컨트롤러와 `xtalclk` 클록을 연결합니다.

examples:
  - |
    watchdog@8300 {
        compatible = "marvell,armada-3700-wdt";
        reg = <0x8300 0x40>;
        marvell,system-controller = <&cpu_misc>;
        clocks = <&xtalclk>;
    };