← Documents Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

Cirrus Logic EP93xx Watchdog Timer

EP9301과 EP9302·9307·9312·9315의 호환 문자열 fallback을 설명합니다.

Source pathDocumentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

cirrus,ep9301-wdt.yaml:1-42

EP9301과 EP9302·9307·9312·9315의 호환 문자열 fallback을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, 예제와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/watchdog/cirrus,ep9301-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Cirrus Logic EP93xx Watchdog Timer
8
9 maintainers:
10 - Nikita Shubin <nikita.shubin@maquefel.me>
11 - Alexander Sverdlin <alexander.sverdlin@gmail.com>
12
13 allOf:
14 - $ref: watchdog.yaml#
15
16 properties:
17 compatible:
18 oneOf:
19 - const: cirrus,ep9301-wdt
20 - items:
21 - enum:
22 - cirrus,ep9302-wdt
23 - cirrus,ep9307-wdt
24 - cirrus,ep9312-wdt
25 - cirrus,ep9315-wdt
26 - const: cirrus,ep9301-wdt
27
28 reg:
29 maxItems: 1
30
31 required:
32 - compatible
33 - reg
34
35 unevaluatedProperties: false
36
37 examples:
38 - |
39 watchdog@80940000 {
40 compatible = "cirrus,ep9301-wdt";
41 reg = <0x80940000 0x08>;
42 };
43

3. 한국어 전문 번역

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

Cirrus Logic EP93xx 워치독

1-12

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Cirrus Logic EP93xx 워치독 타이머를 정의합니다. 관리자는 Nikita Shubin과 Alexander Sverdlin입니다.

EP9301과 EP93xx fallback

13-36

공통 `watchdog.yaml`을 상속합니다. EP9301은 `cirrus,ep9301-wdt`를 직접 사용합니다. EP9302, EP9307, EP9312, EP9315는 각 SoC 호환 문자열 뒤에 `cirrus,ep9301-wdt` fallback을 둡니다.

`reg`는 하나의 레지스터 영역이며 `compatible`과 `reg`가 필수입니다. 평가되지 않은 추가 속성은 허용하지 않습니다.

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    oneOf:
      - const: cirrus,ep9301-wdt
      - items:
          - enum:
              - cirrus,ep9302-wdt
              - cirrus,ep9307-wdt
              - cirrus,ep9312-wdt
              - cirrus,ep9315-wdt
          - const: cirrus,ep9301-wdt

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

EP9301 워치독 예제

37-42

예제는 EP9301 워치독을 주소 `0x80940000`에 길이 `0x08`인 레지스터 영역으로 배치합니다.

examples:
  - |
    watchdog@80940000 {
        compatible = "cirrus,ep9301-wdt";
        reg = <0x80940000 0x08>;
    };