요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Technologic Systems Watchdog
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
Optional property:
- timeout-sec: contains the watchdog timeout in seconds.
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>;
};
}
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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>;
};
}
요약과 해설
ts4800-wdt.txt:1-25TS-4800 FPGA syscon phandle·offset 배열과 timeout 설정을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, node 이름, compatible, register, clock, interrupt, reset, reserved memory, timeout과 예제는 원문 줄 좌표를 원형대로 보존합니다.