요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/mikrotik,rb4xx-spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: MikroTik RB4xx series SPI master
maintainers:
- Gabor Juhos <[email protected]>
- Bert Vermeulen <[email protected]>
allOf:
- $ref: spi-controller.yaml#
properties:
compatible:
const: mikrotik,rb4xx-spi
reg:
maxItems: 1
required:
- compatible
- reg
unevaluatedProperties: false
examples:
- |
spi: spi@1f000000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "mikrotik,rb4xx-spi";
reg = <0x1f000000 0x10>;
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
MikroTik RB4xx SPI schema
1-15이 GPL-2.0-only 또는 BSD-2-Clause YAML schema는 MikroTik RB4xx series SPI master를 정의합니다. Schema ID는 `http://devicetree.org/schemas/spi/mikrotik,rb4xx-spi.yaml#`이고 maintainer는 Gabor Juhos와 Bert Vermeulen입니다.
`spi-controller.yaml#`의 공통 SPI controller 속성을 상속합니다.
Compatible과 register
16-28`compatible`은 `mikrotik,rb4xx-spi` 상수이고 `reg`는 최대 한 항목입니다. 두 속성이 모두 필수이며 `unevaluatedProperties: false`로 평가되지 않은 추가 속성을 금지합니다.
RB4xx SPI 예제
29-38예제는 address `0x1f000000`, register 길이 `0x10`인 RB4xx SPI controller를 선언합니다.
spi: spi@1f000000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "mikrotik,rb4xx-spi";
reg = <0x1f000000 0x10>;
};
요약과 해설
mikrotik,rb4xx-spi.yaml:1-38MikroTik RB4xx SPI master의 compatible과 register binding을 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·phandle·interrupt/DMA 순서·수치·예제 코드를 원형대로 유지합니다.