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

Linux 6.18.37 · Devicetree Bindings / Watchdog

MediaTek MT7621 Watchdog

MT7621 워치독의 레지스터와 선택적인 system controller phandle을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

mediatek,mt7621-wdt.yaml:1-40

MT7621 워치독의 레지스터와 선택적인 system controller phandle을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, 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/mediatek,mt7621-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Ralink Watchdog Timers
8
9 maintainers:
10 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
11
12 allOf:
13 - $ref: watchdog.yaml#
14
15 properties:
16 compatible:
17 const: mediatek,mt7621-wdt
18
19 reg:
20 maxItems: 1
21
22 mediatek,sysctl:
23 $ref: /schemas/types.yaml#/definitions/phandle
24 description:
25 phandle to system controller 'sysc' syscon node which
26 controls system registers
27
28 required:
29 - compatible
30 - reg
31
32 additionalProperties: false
33
34 examples:
35 - |
36 watchdog@100 {
37 compatible = "mediatek,mt7621-wdt";
38 reg = <0x100 0x100>;
39 mediatek,sysctl = <&sysc>;
40 };
41

3. 한국어 전문 번역

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

Ralink MT7621 워치독

1-14

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Ralink Watchdog Timer를 정의합니다. 공통 `watchdog.yaml`을 상속하며 관리자는 Sergio Paracuellos입니다.

MT7621 레지스터와 sysctl

15-33

`compatible`은 `mediatek,mt7621-wdt`이고 `reg`는 항목 하나만 받습니다. 선택 속성 `mediatek,sysctl`은 시스템 레지스터를 제어하는 `sysc` syscon 노드를 가리키는 phandle입니다.

`compatible`과 `reg`가 필수이며 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    const: mediatek,mt7621-wdt

  reg:
    maxItems: 1

  mediatek,sysctl:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      phandle to system controller 'sysc' syscon node which
      controls system registers

required:
  - compatible
  - reg

additionalProperties: false

MT7621 syscon 예제

34-40

예제는 오프셋 `0x100`, 크기 `0x100`인 MT7621 워치독에 `sysc` 시스템 컨트롤러를 연결합니다.

examples:
  - |
    watchdog@100 {
        compatible = "mediatek,mt7621-wdt";
        reg = <0x100 0x100>;
        mediatek,sysctl = <&sysc>;
    };