요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. 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/usb/xlnx,usb2.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Xilinx udc controller
maintainers:
- Radhey Shyam Pandey <[email protected]>
properties:
compatible:
const: xlnx,usb2-device-4.00.a
reg:
maxItems: 1
interrupts:
maxItems: 1
xlnx,has-builtin-dma:
description:
If present, hardware has dma capability.
type: boolean
clocks:
minItems: 1
clock-names:
const: s_axi_aclk
required:
- compatible
- reg
- interrupts
additionalProperties: false
examples:
- |
axi-usb2-device@42e00000 {
compatible = "xlnx,usb2-device-4.00.a";
interrupts = <0x0 0x39 0x1>;
reg = <0xee000000 0xc00>;
xlnx,has-builtin-dma;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Xilinx USB2 device controller
1-11GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Xilinx USB device controller를 정의합니다. 관리자는 Radhey Shyam Pandey입니다.
UDC 자원과 built-in DMA
12-38`compatible`은 `xlnx,usb2-device-4.00.a`로 고정됩니다. register와 interrupt는 각각 최대 한 항목입니다.
`xlnx,has-builtin-dma`는 hardware에 DMA capability가 있음을 나타냅니다. clock은 최소 한 개이며 이름은 `s_axi_aclk`입니다. compatible, reg, interrupts가 필수이고 추가 속성은 허용하지 않습니다.
properties:
compatible:
const: xlnx,usb2-device-4.00.a
reg:
maxItems: 1
interrupts:
maxItems: 1
xlnx,has-builtin-dma:
description:
If present, hardware has dma capability.
type: boolean
clocks:
minItems: 1
clock-names:
const: s_axi_aclk
required:
- compatible
- reg
- interrupts
additionalProperties: false
AXI USB2 UDC DMA 예제
39-47예제 AXI USB2 device controller는 compatible, interrupt, register range를 지정하고 built-in DMA capability를 활성화합니다.
examples:
- |
axi-usb2-device@42e00000 {
compatible = "xlnx,usb2-device-4.00.a";
interrupts = <0x0 0x39 0x1>;
reg = <0xee000000 0xc00>;
xlnx,has-builtin-dma;
};
요약과 해설
xlnx,usb2.yaml:1-47Xilinx USB2 UDC의 AXI clock, interrupt와 built-in DMA를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, symbol, phandle, example, source path와 원문 줄 좌표를 원형대로 보존합니다.