← Documents Documentation/devicetree/bindings/usb/xlnx,usb2.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

Xilinx USB2 Device Controller

Xilinx USB2 UDC의 AXI clock, interrupt와 built-in DMA를 설명합니다.

Source pathDocumentation/devicetree/bindings/usb/xlnx,usb2.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

xlnx,usb2.yaml:1-47

Xilinx USB2 UDC의 AXI clock, interrupt와 built-in DMA를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, symbol, phandle, example, source path와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/usb/xlnx,usb2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Xilinx udc controller
8
9 maintainers:
10 - Radhey Shyam Pandey <[email protected]>
11
12 properties:
13 compatible:
14 const: xlnx,usb2-device-4.00.a
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 maxItems: 1
21
22 xlnx,has-builtin-dma:
23 description:
24 If present, hardware has dma capability.
25 type: boolean
26
27 clocks:
28 minItems: 1
29
30 clock-names:
31 const: s_axi_aclk
32
33 required:
34 - compatible
35 - reg
36 - interrupts
37
38 additionalProperties: false
39
40 examples:
41 - |
42 axi-usb2-device@42e00000 {
43 compatible = "xlnx,usb2-device-4.00.a";
44 interrupts = <0x0 0x39 0x1>;
45 reg = <0xee000000 0xc00>;
46 xlnx,has-builtin-dma;
47 };
48

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Xilinx USB2 device controller

1-11

GPL-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;
    };