← Documents Documentation/devicetree/bindings/watchdog/nxp,lpc1850-wwdt.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Watchdog

NXP LPC18xx Windowed Watchdog

LPC1850 WWDT의 counter·register interface clock과 interrupt를 설명합니다.

Source pathDocumentation/devicetree/bindings/watchdog/nxp,lpc1850-wwdt.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

nxp,lpc1850-wwdt.yaml:1-52

LPC1850 WWDT의 counter·register interface clock과 interrupt를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, reset, timeout, 예제와 원문 줄 좌표를 원형대로 보존합니다.

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/nxp,lpc1850-wwdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP LPC18xx Watchdog Timer (WDT)
8
9 maintainers:
10 - Animesh Agarwal <[email protected]>
11
12 properties:
13 compatible:
14 const: nxp,lpc1850-wwdt
15
16 reg:
17 maxItems: 1
18
19 clocks:
20 items:
21 - description: Watchdog counter clock
22 - description: Register interface clock
23
24 clock-names:
25 items:
26 - const: wdtclk
27 - const: reg
28
29 interrupts:
30 maxItems: 1
31
32 required:
33 - compatible
34 - reg
35 - clocks
36 - clock-names
37 - interrupts
38
39 additionalProperties: false
40
41 examples:
42 - |
43 #include <dt-bindings/clock/lpc18xx-cgu.h>
44 #include <dt-bindings/clock/lpc18xx-ccu.h>
45
46 watchdog@40080000 {
47 compatible = "nxp,lpc1850-wwdt";
48 reg = <0x40080000 0x24>;
49 clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>;
50 clock-names = "wdtclk", "reg";
51 interrupts = <49>;
52 };
53

3. 한국어 전문 번역

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

NXP LPC18xx WWDT

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 NXP LPC18xx Watchdog Timer(WDT)를 정의합니다. 관리자는 Animesh Agarwal입니다.

counter·register interface 클록

12-40

`compatible`은 `nxp,lpc1850-wwdt`이고 `reg`는 항목 하나만 받습니다. `clocks`에는 Watchdog counter clock과 Register interface clock을 이 순서로 제공하며, `clock-names`는 각각 `wdtclk`, `reg`입니다.

`interrupts`는 항목 하나만 받습니다. `compatible`, `reg`, `clocks`, `clock-names`, `interrupts`가 모두 필수이며 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    const: nxp,lpc1850-wwdt

  reg:
    maxItems: 1

  clocks:
    items:
      - description: Watchdog counter clock
      - description: Register interface clock

  clock-names:
    items:
      - const: wdtclk
      - const: reg

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - clock-names
  - interrupts

additionalProperties: false

LPC1850 WWDT 예제

41-52

예제는 주소 `0x40080000`, 길이 `0x24`인 LPC1850 WWDT에 `BASE_SAFE_CLK`를 `wdtclk`로, `CLK_CPU_WWDT`를 `reg`로 연결하고 interrupt 49를 지정합니다.

examples:
  - |
    #include <dt-bindings/clock/lpc18xx-cgu.h>
    #include <dt-bindings/clock/lpc18xx-ccu.h>

    watchdog@40080000 {
        compatible = "nxp,lpc1850-wwdt";
        reg = <0x40080000 0x24>;
        clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>;
        clock-names = "wdtclk", "reg";
        interrupts = <49>;
    };