요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. 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/spi/spi-zynqmp-qspi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Xilinx Zynq UltraScale+ MPSoC GQSPI controller
maintainers:
- Michal Simek <[email protected]>
properties:
compatible:
enum:
- xlnx,versal-qspi-1.0
- xlnx,zynqmp-qspi-1.0
reg:
minItems: 1
maxItems: 2
interrupts:
maxItems: 1
clock-names:
items:
- const: ref_clk
- const: pclk
clocks:
maxItems: 2
iommus:
maxItems: 1
power-domains:
maxItems: 1
required:
- compatible
- reg
- interrupts
- clock-names
- clocks
unevaluatedProperties: false
allOf:
- $ref: spi-controller.yaml#
- if:
properties:
compatible:
contains:
const: xlnx,zynqmp-qspi-1.0
then:
properties:
reg:
minItems: 2
else:
properties:
reg:
maxItems: 1
examples:
- |
soc {
#address-cells = <2>;
#size-cells = <2>;
qspi: spi@ff0f0000 {
compatible = "xlnx,zynqmp-qspi-1.0";
clocks = <&zynqmp_clk 53>, <&zynqmp_clk 82>;
clock-names = "ref_clk", "pclk";
interrupts = <0 15 4>;
interrupt-parent = <&gic>;
reg = <0x0 0xff0f0000 0x0 0x1000>,
<0x0 0xc0000000 0x0 0x8000000>;
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Zynq UltraScale+ MPSoC GQSPI
1-11이 GPL-2.0-only 또는 BSD-2-Clause YAML schema는 Xilinx Zynq UltraScale+ MPSoC GQSPI controller를 정의합니다. Maintainer는 Michal Simek입니다.
Compatible, clock과 관리 자원
12-38`compatible`은 `xlnx,versal-qspi-1.0` 또는 `xlnx,zynqmp-qspi-1.0`입니다. `reg`는 1~2개, `interrupts`는 최대 한 항목입니다.
`clock-names`는 reference clock `ref_clk`, peripheral clock `pclk` 순서이고 `clocks`는 최대 두 항목입니다. `iommus`와 `power-domains`는 각각 최대 한 항목입니다.
필수 속성과 추가 속성 제한
39-47필수 속성은 `compatible`, `reg`, `interrupts`, `clock-names`, `clocks`입니다. `unevaluatedProperties: false`로 평가되지 않은 추가 속성을 금지합니다.
Compatible별 register 영역 수
48-65공통 `spi-controller.yaml#`을 상속합니다. Compatible에 `xlnx,zynqmp-qspi-1.0`이 포함되면 `reg`는 최소 두 항목이어야 합니다. 그렇지 않은 경우, 즉 Versal QSPI에서는 `reg`가 최대 한 항목입니다.
ZynqMP GQSPI controller와 두 register 영역
66-81예제의 `qspi: spi@ff0f0000`은 `xlnx,zynqmp-qspi-1.0`, clock 53·82를 `ref_clk`·`pclk`로 사용하고 GIC interrupt `<0 15 4>`를 연결합니다. `reg`는 0xff0f0000 controller 영역과 0xc0000000에서 시작하는 0x8000000 크기 memory window 두 항목입니다.
soc {
#address-cells = <2>;
#size-cells = <2>;
qspi: spi@ff0f0000 {
compatible = "xlnx,zynqmp-qspi-1.0";
clocks = <&zynqmp_clk 53>, <&zynqmp_clk 82>;
clock-names = "ref_clk", "pclk";
interrupts = <0 15 4>;
interrupt-parent = <&gic>;
reg = <0x0 0xff0f0000 0x0 0x1000>,
<0x0 0xc0000000 0x0 0x8000000>;
};
};
요약과 해설
spi-zynqmp-qspi.yaml:1-81ZynqMP·Versal QSPI의 clock과 compatible별 register 영역 수를 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·symbol·source path·URL·수치·예제 코드를 원형대로 유지합니다.