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

Linux 6.18.37 · Devicetree Bindings / Watchdog

ARM SMC-Based Watchdog

Secure Monitor Call 기반 워치독의 ATF SMC 함수 ID와 기본값을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

arm-smc-wdt.yaml:1-39

Secure Monitor Call 기반 워치독의 ATF SMC 함수 ID와 기본값을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, 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-smc-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ARM Secure Monitor Call based watchdog
8
9 maintainers:
10 - Julius Werner <jwerner@chromium.org>
11
12 allOf:
13 - $ref: watchdog.yaml#
14
15 properties:
16 compatible:
17 enum:
18 - arm,smc-wdt
19
20 arm,smc-id:
21 $ref: /schemas/types.yaml#/definitions/uint32
22 description: |
23 The ATF smc function id used by the firmware.
24 Defaults to 0x82003D06 if unset.
25
26 required:
27 - compatible
28
29 unevaluatedProperties: false
30
31 examples:
32 - |
33 watchdog {
34 compatible = "arm,smc-wdt";
35 arm,smc-id = <0x82003D06>;
36 timeout-sec = <15>;
37 };
38
39 ...
40

3. 한국어 전문 번역

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

ARM Secure Monitor Call 워치독

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 ARM Secure Monitor Call(SMC) 기반 워치독을 정의합니다. 관리자는 Julius Werner입니다.

ATF SMC 함수 ID

12-30

공통 `watchdog.yaml`을 상속하며 `compatible`은 `arm,smc-wdt`입니다. 선택 속성 `arm,smc-id`는 firmware가 사용하는 ATF SMC function ID를 32비트 정수로 지정합니다. 생략하면 기본값 `0x82003D06`을 사용합니다.

`compatible`만 필수이며 공통 스키마와 이 문서에서 평가하지 않은 추가 속성은 허용하지 않습니다.

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    enum:
      - arm,smc-wdt

  arm,smc-id:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: |
      The ATF smc function id used by the firmware.
      Defaults to 0x82003D06 if unset.

required:
  - compatible

unevaluatedProperties: false

15초 SMC 워치독 예제

31-39

예제는 주소 없는 `watchdog` 노드에서 SMC ID `0x82003D06`을 명시하고 공통 `timeout-sec` 속성을 15초로 설정합니다.

examples:
  - |
    watchdog {
        compatible = "arm,smc-wdt";
        arm,smc-id = <0x82003D06>;
        timeout-sec = <15>;
    };

...