요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
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/faraday,ftwdt010.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Faraday Technology FTWDT010 watchdog
maintainers:
- Linus Walleij <linus.walleij@linaro.org>
- Corentin Labbe <clabbe@baylibre.com>
description: |
This is an IP part from Faraday Technology found in the Gemini
SoCs and others.
allOf:
- $ref: watchdog.yaml#
properties:
compatible:
oneOf:
- const: faraday,ftwdt010
- items:
- enum:
- cortina,gemini-watchdog
- moxa,moxart-watchdog
- const: faraday,ftwdt010
reg:
maxItems: 1
resets:
maxItems: 1
clocks:
maxItems: 1
clock-names:
const: PCLK
interrupts:
maxItems: 1
required:
- compatible
- reg
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
watchdog@41000000 {
compatible = "faraday,ftwdt010";
reg = <0x41000000 0x1000>;
interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
timeout-sec = <5>;
};
- |
watchdog: watchdog@98500000 {
compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
reg = <0x98500000 0x10>;
clocks = <&clk_apb>;
clock-names = "PCLK";
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Faraday FTWDT010 워치독
1-16GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Faraday Technology FTWDT010 워치독 IP를 정의합니다. 이 IP는 Gemini SoC와 그 밖의 시스템에 포함됩니다. 관리자는 Linus Walleij와 Corentin Labbe입니다.
Gemini·MOXART fallback과 PCLK
17-50공통 `watchdog.yaml`을 상속합니다. `faraday,ftwdt010`을 직접 사용하거나 `cortina,gemini-watchdog`, `moxa,moxart-watchdog` 중 하나 뒤에 `faraday,ftwdt010` fallback을 둡니다.
`reg`, `resets`, `clocks`, `interrupts`는 각각 최대 하나입니다. 클록 이름은 `PCLK`로 고정합니다. `compatible`과 `reg`만 필수이며 평가되지 않은 추가 속성은 허용하지 않습니다.
allOf:
- $ref: watchdog.yaml#
properties:
compatible:
oneOf:
- const: faraday,ftwdt010
- items:
- enum:
- cortina,gemini-watchdog
- moxa,moxart-watchdog
- const: faraday,ftwdt010
reg:
maxItems: 1
resets:
maxItems: 1
clocks:
maxItems: 1
clock-names:
const: PCLK
interrupts:
maxItems: 1
required:
- compatible
- reg
unevaluatedProperties: false
FTWDT010·MOXART 예제
51-67첫 예제는 주소 `0x41000000`의 순수 FTWDT010에 level-high interrupt 3과 5초 timeout을 설정합니다. 둘째 예제는 주소 `0x98500000`의 MOXART 워치독에 Faraday fallback과 APB 클록을 연결하고 이름을 `PCLK`로 지정합니다.
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
watchdog@41000000 {
compatible = "faraday,ftwdt010";
reg = <0x41000000 0x1000>;
interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
timeout-sec = <5>;
};
- |
watchdog: watchdog@98500000 {
compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
reg = <0x98500000 0x10>;
clocks = <&clk_apb>;
clock-names = "PCLK";
};
...
요약과 해설
faraday,ftwdt010.yaml:1-67FTWDT010의 Gemini·MOXART fallback과 reset·PCLK·interrupt 자원을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, 예제와 원문 줄 좌표를 원형대로 보존합니다.