← Documents Documentation/devicetree/bindings/timer/fsl,timrot.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Timer

Freescale MXS Timer

MXS TIMROT의 i.MX23·i.MX28 fallback과 네 timer IRQ를 설명합니다.

Source pathDocumentation/devicetree/bindings/timer/fsl,timrot.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

fsl,timrot.yaml:1-48

MXS TIMROT의 i.MX23·i.MX28 fallback과 네 timer IRQ를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.

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/timer/fsl,timrot.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Freescale MXS Timer
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 properties:
13 compatible:
14 items:
15 - enum:
16 - fsl,imx23-timrot
17 - fsl,imx28-timrot
18 - const: fsl,timrot
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 items:
25 - description: irq for timer0
26 - description: irq for timer1
27 - description: irq for timer2
28 - description: irq for timer3
29
30 clocks:
31 maxItems: 1
32
33 required:
34 - compatible
35 - reg
36 - interrupts
37 - clocks
38
39 additionalProperties: false
40
41 examples:
42 - |
43 timer: timer@80068000 {
44 compatible = "fsl,imx28-timrot", "fsl,timrot";
45 reg = <0x80068000 0x2000>;
46 interrupts = <48>, <49>, <50>, <51>;
47 clocks = <&clks 26>;
48 };
49

3. 한국어 전문 번역

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

Freescale MXS TIMROT

1-11

GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Freescale MXS Timer(TIMROT)를 정의합니다. Maintainer는 Frank Li입니다.

i.MX23·i.MX28 fallback과 네 timer IRQ

12-40

`compatible`은 `fsl,imx23-timrot` 또는 `fsl,imx28-timrot` 뒤에 `fsl,timrot` fallback을 둡니다. `reg`와 `clocks`는 각각 최대 한 항목이며, `interrupts`는 timer0부터 timer3까지 네 IRQ를 순서대로 담습니다. `compatible`, `reg`, `interrupts`, `clocks`가 모두 필수이고 추가 속성은 허용되지 않습니다.

properties:
  compatible:
    items:
      - enum:
          - fsl,imx23-timrot
          - fsl,imx28-timrot
      - const: fsl,timrot

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: irq for timer0
      - description: irq for timer1
      - description: irq for timer2
      - description: irq for timer3

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

additionalProperties: false

i.MX28 TIMROT 예제

41-48

예제는 label `timer`가 붙은 `timer@80068000`에 i.MX28 compatible과 generic fallback, 0x2000-byte register 영역, interrupt 48·49·50·51, `clks` index 26을 지정합니다.

examples:
  - |
    timer: timer@80068000 {
        compatible = "fsl,imx28-timrot", "fsl,timrot";
        reg = <0x80068000 0x2000>;
        interrupts = <48>, <49>, <50>, <51>;
        clocks = <&clks 26>;
    };