← Documents Documentation/devicetree/bindings/watchdog/men-a021-wdt.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

MEN A21 GPIO Watchdog

MEN A21 워치독을 제어하는 여섯 GPIO의 순서와 역할을 설명합니다.

Source pathDocumentation/devicetree/bindings/watchdog/men-a021-wdt.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

men-a021-wdt.txt:1-25

MEN A21 워치독을 제어하는 여섯 GPIO의 순서와 역할을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, GPIO, reset, 예제와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Bindings for MEN A21 Watchdog device connected to GPIO lines
2
3 Required properties:
4 - compatible: "men,a021-wdt"
5 - gpios: Specifies the pins that control the Watchdog, order:
6 1: Watchdog enable
7 2: Watchdog fast-mode
8 3: Watchdog trigger
9 4: Watchdog reset cause bit 0
10 5: Watchdog reset cause bit 1
11 6: Watchdog reset cause bit 2
12
13 Optional properties:
14 - None
15
16 Example:
17 watchdog {
18 compatible ="men,a021-wdt";
19 gpios = <&gpio3 9 1 /* WD_EN */
20 &gpio3 10 1 /* WD_FAST */
21 &gpio3 11 1 /* WD_TRIG */
22 &gpio3 6 1 /* RST_CAUSE[0] */
23 &gpio3 7 1 /* RST_CAUSE[1] */
24 &gpio3 8 1>; /* RST_CAUSE[2] */
25 };
26

3. 한국어 전문 번역

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

MEN A21 GPIO 워치독

1-2

이 구형 TXT binding은 GPIO 선에 연결된 MEN A21 Watchdog 장치의 표현을 설명합니다.

여섯 GPIO의 고정 순서

3-15

`compatible`은 `men,a021-wdt`입니다. `gpios`는 워치독을 제어하는 핀을 고정된 순서로 제공합니다. 1번은 Watchdog enable, 2번은 fast-mode, 3번은 trigger이고, 4번부터 6번까지는 Watchdog reset cause bit 0, 1, 2입니다.

선택 속성은 없습니다.

Required properties:
- compatible: "men,a021-wdt"
- gpios: Specifies the pins that control the Watchdog, order:
  1: Watchdog enable
  2: Watchdog fast-mode
  3: Watchdog trigger
  4: Watchdog reset cause bit 0
  5: Watchdog reset cause bit 1
  6: Watchdog reset cause bit 2

Optional properties:
- None

WD_EN·WD_FAST·WD_TRIG 예제

16-25

예제는 GPIO3의 9, 10, 11번을 각각 `WD_EN`, `WD_FAST`, `WD_TRIG`에 할당하고 6, 7, 8번을 `RST_CAUSE[0..2]`에 할당합니다.

Example:
        watchdog {
                compatible ="men,a021-wdt";
                gpios = <&gpio3 9  1        /* WD_EN */
                         &gpio3 10 1        /* WD_FAST */
                         &gpio3 11 1        /* WD_TRIG */
                         &gpio3 6  1        /* RST_CAUSE[0] */
                         &gpio3 7  1        /* RST_CAUSE[1] */
                         &gpio3 8  1>;        /* RST_CAUSE[2] */
        };