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

Linux 6.18.37 · Devicetree Bindings / Watchdog

BCM63xx and BCM7038 Watchdog Timer

BCM63xx·BCM7038 워치독과 클록 미지정 시 27MHz 기본값을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

brcm,bcm7038-wdt.yaml:1-43

BCM63xx·BCM7038 워치독과 클록 미지정 시 27MHz 기본값을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, 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/brcm,bcm7038-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: BCM63xx and BCM7038 watchdog timer
8
9 maintainers:
10 - Florian Fainelli <f.fainelli@gmail.com>
11 - Justin Chen <justinpopo6@gmail.com>
12 - Rafał Miłecki <rafal@milecki.pl>
13
14 allOf:
15 - $ref: watchdog.yaml#
16
17 properties:
18 compatible:
19 enum:
20 - brcm,bcm6345-wdt
21 - brcm,bcm7038-wdt
22
23 reg:
24 maxItems: 1
25
26 clocks:
27 maxItems: 1
28 description: >
29 The clock running the watchdog. If no clock is found the driver will
30 default to 27000000 Hz.
31
32 required:
33 - reg
34
35 unevaluatedProperties: false
36
37 examples:
38 - |
39 watchdog@f040a7e8 {
40 compatible = "brcm,bcm7038-wdt";
41 reg = <0xf040a7e8 0x16>;
42 clocks = <&upg_fixed>;
43 };
44

3. 한국어 전문 번역

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

Broadcom BCM63xx·BCM7038 워치독

1-13

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Broadcom BCM63xx와 BCM7038 워치독 타이머를 정의합니다. 관리자는 Florian Fainelli, Justin Chen, Rafał Miłecki입니다.

호환 기종과 27MHz 기본 클록

14-36

공통 `watchdog.yaml`을 상속하며 `compatible`은 `brcm,bcm6345-wdt` 또는 `brcm,bcm7038-wdt`입니다. `reg`는 하나의 영역이고 `clocks`는 워치독을 구동하는 클록 하나를 가리킵니다.

클록을 찾지 못하면 드라이버는 기본 주파수 `27000000 Hz`를 사용합니다. `reg`만 필수이며 평가되지 않은 추가 속성은 허용하지 않습니다.

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    enum:
      - brcm,bcm6345-wdt
      - brcm,bcm7038-wdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1
    description: >
      The clock running the watchdog. If no clock is found the driver will
      default to 27000000 Hz.

required:
  - reg

unevaluatedProperties: false

BCM7038 고정 클록 예제

37-43

예제는 주소 `0xf040a7e8`, 길이 `0x16`인 BCM7038 워치독에 `upg_fixed` 클록을 연결합니다.

examples:
  - |
    watchdog@f040a7e8 {
        compatible = "brcm,bcm7038-wdt";
        reg = <0xf040a7e8 0x16>;
        clocks = <&upg_fixed>;
    };