요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/cirrus,clps711x-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Cirrus Logic CLPS711X Timer Counter
maintainers:
- Alexander Shiyan <[email protected]>
properties:
compatible:
oneOf:
- items:
- enum:
- cirrus,ep7312-timer
- const: cirrus,ep7209-timer
- const: cirrus,ep7209-timer
reg:
maxItems: 1
clocks:
maxItems: 1
interrupts:
maxItems: 1
required:
- compatible
- reg
- clocks
- interrupts
additionalProperties: false
examples:
- |
timer@80000300 {
compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
reg = <0x80000300 0x4>;
interrupts = <8>;
clocks = <&clks 5>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Cirrus CLPS711X timer counter
1-11GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 스키마는 Cirrus Logic CLPS711X Timer Counter를 정의합니다. Maintainer는 Alexander Shiyan입니다.
EP7312 fallback과 필수 자원
12-37`cirrus,ep7209-timer`는 단독으로 사용할 수 있고, EP7312는 `cirrus,ep7312-timer` 뒤에 `cirrus,ep7209-timer` fallback을 둡니다. `reg`, `clocks`, `interrupts`는 각각 최대 한 항목이며 `compatible`, `reg`, `clocks`, `interrupts`가 모두 필수입니다. 추가 속성은 허용되지 않습니다.
properties:
compatible:
oneOf:
- items:
- enum:
- cirrus,ep7312-timer
- const: cirrus,ep7209-timer
- const: cirrus,ep7209-timer
reg:
maxItems: 1
clocks:
maxItems: 1
interrupts:
maxItems: 1
required:
- compatible
- reg
- clocks
- interrupts
additionalProperties: false
EP7312 timer 예제
38-45예제는 `timer@80000300`에 4-byte register 영역, interrupt 8, `clks` index 5를 지정하고 EP7312 compatible과 EP7209 fallback을 함께 사용합니다.
- |
timer@80000300 {
compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
reg = <0x80000300 0x4>;
interrupts = <8>;
clocks = <&clks 5>;
};
요약과 해설
cirrus,clps711x-timer.yaml:1-45CLPS711X timer의 EP7312·EP7209 compatible 관계를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며 compatible, interrupt, clock, register, phandle, 수치와 줄 좌표를 원형대로 보존합니다.