← Documents Documentation/devicetree/bindings/timer/st,spear-timer.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Timer

ST SPEAr ARM Timer

SPEAr ARM timer의 register와 interrupt binding을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

st,spear-timer.yaml:1-36

SPEAr ARM timer의 register와 interrupt binding을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 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/st,spear-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: SPEAr ARM Timer
8
9 maintainers:
10 - Viresh Kumar <[email protected]>
11 - Shiraz Hashim <[email protected]>
12
13 properties:
14 compatible:
15 const: st,spear-timer
16
17 reg:
18 maxItems: 1
19
20 interrupts:
21 maxItems: 1
22
23 required:
24 - compatible
25 - reg
26 - interrupts
27
28 additionalProperties: false
29
30 examples:
31 - |
32 timer@f0000000 {
33 compatible = "st,spear-timer";
34 reg = <0xf0000000 0x400>;
35 interrupts = <2>;
36 };
37

3. 한국어 전문 번역

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

SPEAr ARM Timer

1-12

GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 SPEAr ARM Timer를 정의합니다. Maintainer는 Viresh Kumar와 Shiraz Hashim입니다.

Register와 interrupt

13-28

`compatible`은 `st,spear-timer`로 고정됩니다. `reg`와 `interrupts`는 각각 최대 한 항목입니다. `compatible`, `reg`, `interrupts`가 모두 필수이며 정의되지 않은 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    const: st,spear-timer

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

SPEAr timer 예제

29-36

예제 `timer@f0000000`은 0x400-byte register 영역과 interrupt 2를 지정합니다.

examples:
  - |
    timer@f0000000 {
        compatible = "st,spear-timer";
        reg = <0xf0000000 0x400>;
        interrupts = <2>;
    };