← Documents Documentation/devicetree/bindings/timer/arm,global_timer.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Timer

ARM Global Timer

Cortex-A5·A9 Global Timer의 지원 revision과 자원 구성을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

arm,global_timer.yaml:1-48

Cortex-A5·A9 Global Timer의 지원 revision과 자원 구성을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 register, interrupt, clock, phandle, erratum, 수치와 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/timer/arm,global_timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ARM Global Timer
8
9 maintainers:
10 - Stuart Menefy <[email protected]>
11
12 description:
13 Cortex-A9 are often associated with a per-core Global timer.
14
15 properties:
16 compatible:
17 items:
18 - enum:
19 - arm,cortex-a5-global-timer
20 - arm,cortex-a9-global-timer
21
22 description: driver supports versions r2p0 and above.
23
24 reg:
25 maxItems: 1
26
27 interrupts:
28 maxItems: 1
29
30 clocks:
31 maxItems: 1
32
33 required:
34 - compatible
35 - reg
36 - clocks
37
38 additionalProperties: false
39
40 examples:
41 - |
42 timer@2c000600 {
43 compatible = "arm,cortex-a9-global-timer";
44 reg = <0x2c000600 0x20>;
45 interrupts = <1 13 0xf01>;
46 clocks = <&arm_periph_clk>;
47 };
48 ...
49

3. 한국어 전문 번역

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

ARM per-core Global Timer

1-14

GPL-2.0 라이선스의 이 스키마는 ARM Global Timer를 정의합니다. Cortex-A9은 흔히 CPU core별 Global timer와 함께 구성됩니다. Maintainer는 Stuart Menefy입니다.

A5·A9 지원 범위와 자원

15-39

지원 compatible은 `arm,cortex-a5-global-timer`와 `arm,cortex-a9-global-timer`이며 driver는 revision r2p0 이상을 지원합니다. `reg`, `interrupts`, `clocks`는 각각 최대 한 항목입니다. `compatible`, `reg`, `clocks`가 필수이고 `interrupts`는 선택 사항입니다. 추가 속성은 허용되지 않습니다.

properties:
  compatible:
    items:
      - enum:
          - arm,cortex-a5-global-timer
          - arm,cortex-a9-global-timer

    description: driver supports versions r2p0 and above.

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

additionalProperties: false

Cortex-A9 Global Timer 예제

40-48

예제는 `timer@2c000600`에 0x20-byte register 영역을 두고 PPI 13과 `arm_periph_clk` clock을 연결합니다.

  - |
    timer@2c000600 {
      compatible = "arm,cortex-a9-global-timer";
      reg = <0x2c000600 0x20>;
      interrupts = <1 13 0xf01>;
      clocks = <&arm_periph_clk>;
    };
...