요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/arm-smc-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: ARM Secure Monitor Call based watchdog
maintainers:
- Julius Werner <[email protected]>
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
examples:
- |
watchdog {
compatible = "arm,smc-wdt";
arm,smc-id = <0x82003D06>;
timeout-sec = <15>;
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
ARM Secure Monitor Call 워치독
1-11GPL-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>;
};
...
요약과 해설
arm-smc-wdt.yaml:1-39Secure Monitor Call 기반 워치독의 ATF SMC 함수 ID와 기본값을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, 예제와 원문 줄 좌표를 원형대로 보존합니다.