요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/xlnx,zynq-qspi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Xilinx Zynq QSPI controller
description:
The Xilinx Zynq QSPI controller is used to access multi-bit serial flash
memory devices.
allOf:
- $ref: spi-controller.yaml#
maintainers:
- Michal Simek <michal.simek@amd.com>
# Everything else is described in the common file
properties:
compatible:
const: xlnx,zynq-qspi-1.0
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
items:
- description: reference clock
- description: peripheral clock
clock-names:
items:
- const: ref_clk
- const: pclk
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
unevaluatedProperties: false
examples:
- |
spi@e000d000 {
compatible = "xlnx,zynq-qspi-1.0";
reg = <0xe000d000 0x1000>;
interrupt-parent = <&intc>;
interrupts = <0 19 4>;
clock-names = "ref_clk", "pclk";
clocks = <&clkc 10>, <&clkc 43>;
num-cs = <1>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Xilinx Zynq QSPI controller
1-19이 GPL-2.0-only 또는 BSD-2-Clause YAML schema는 multi-bit serial flash memory device에 접근하는 Xilinx Zynq QSPI controller를 정의합니다. 공통 `spi-controller.yaml#`을 상속하며 maintainer는 Michal Simek입니다.
Compatible과 두 clock
20-39`compatible`은 `xlnx,zynq-qspi-1.0`입니다. `reg`와 `interrupts`는 각각 최대 한 항목입니다. `clocks`는 reference clock과 peripheral clock 두 항목이고 `clock-names`는 `ref_clk`, `pclk` 순서입니다.
필수 속성과 추가 속성 제한
40-48필수 속성은 `compatible`, `reg`, `interrupts`, `clocks`, `clock-names`입니다. `unevaluatedProperties: false`로 평가되지 않은 추가 속성을 금지합니다.
Zynq QSPI clock·interrupt 예제
49-59예제의 `spi@e000d000`은 `xlnx,zynq-qspi-1.0`, interrupt `<0 19 4>`, clock 10을 `ref_clk`, clock 43을 `pclk`로 사용하고 chip select 수는 1입니다.
spi@e000d000 {
compatible = "xlnx,zynq-qspi-1.0";
reg = <0xe000d000 0x1000>;
interrupt-parent = <&intc>;
interrupts = <0 19 4>;
clock-names = "ref_clk", "pclk";
clocks = <&clkc 10>, <&clkc 43>;
num-cs = <1>;
};
요약과 해설
xlnx,zynq-qspi.yaml:1-59Zynq QSPI의 multi-bit flash 용도와 reference·peripheral clock을 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·symbol·source path·수치·예제 코드를 원형대로 유지합니다.