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

Linux 6.18.37 · Devicetree Bindings / Watchdog

Technologic Systems TS-4800 Watchdog

TS-4800 FPGA syscon phandle·offset 배열과 timeout 설정을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

ts4800-wdt.txt:1-25

TS-4800 FPGA syscon phandle·offset 배열과 timeout 설정을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, node 이름, compatible, register, clock, interrupt, reset, reserved memory, timeout과 예제는 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Technologic Systems Watchdog
2
3 Required properties:
4 - compatible: must be "technologic,ts4800-wdt"
5 - syscon: phandle / integer array that points to the syscon node which
6 describes the FPGA's syscon registers.
7 - phandle to FPGA's syscon
8 - offset to the watchdog register
9
10 Optional property:
11 - timeout-sec: contains the watchdog timeout in seconds.
12
13 Example:
14
15 syscon: syscon@b0010000 {
16 compatible = "syscon", "simple-mfd";
17 reg = <0xb0010000 0x3d>;
18 reg-io-width = <2>;
19
20 wdt@e {
21 compatible = "technologic,ts4800-wdt";
22 syscon = <&syscon 0xe>;
23 timeout-sec = <10>;
24 };
25 }
26

3. 한국어 전문 번역

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

TS-4800 필수 속성

1-9

이 문서는 Technologic Systems Watchdog를 정의합니다. `compatible`은 `technologic,ts4800-wdt`여야 합니다.

`syscon`은 FPGA의 syscon register를 설명하는 syscon node를 가리키는 phandle·정수 배열입니다. 첫 항목은 FPGA syscon의 phandle이고 두 번째 항목은 watchdog register의 offset입니다.

Required properties:
- compatible: must be "technologic,ts4800-wdt"
- syscon: phandle / integer array that points to the syscon node which
          describes the FPGA's syscon registers.
          - phandle to FPGA's syscon
          - offset to the watchdog register

선택 timeout

10-12

선택 속성 `timeout-sec`는 watchdog timeout을 초 단위로 담습니다.

Optional property:
- timeout-sec: contains the watchdog timeout in seconds.

FPGA syscon 하위 watchdog 예제

13-25

예제는 주소 `0xb0010000`, 크기 `0x3d`, register I/O 폭 2바이트인 `syscon` 아래에 watchdog을 둡니다. watchdog은 syscon offset `0xe`를 사용하고 timeout을 10초로 설정합니다.

Example:

syscon: syscon@b0010000 {
        compatible = "syscon", "simple-mfd";
        reg = <0xb0010000 0x3d>;
        reg-io-width = <2>;

        wdt@e {
                compatible = "technologic,ts4800-wdt";
                syscon = <&syscon 0xe>;
                timeout-sec = <10>;
        };
}