← Documents Documentation/devicetree/bindings/usb/nxp,lpc3220-udc.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

NXP LPC32xx USB Device Controller

LPC32xx UDC의 네 interrupt와 ISP1301 transceiver 연결을 설명합니다.

Source pathDocumentation/devicetree/bindings/usb/nxp,lpc3220-udc.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

nxp,lpc3220-udc.yaml:1-50

LPC32xx UDC의 네 interrupt와 ISP1301 transceiver 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, clock, PHY, power, 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/nxp,lpc3220-udc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP LPC32xx SoC USB Device Controller (UDC)
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 properties:
13 compatible:
14 const: nxp,lpc3220-udc
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 items:
21 - description: USB Device Low Priority Interrupt
22 - description: USB Device High Priority Interrupt
23 - description: USB Device DMA Interrupt
24 - description: External USB Transceiver Interrupt (OTG ATX)
25
26 clocks:
27 maxItems: 1
28
29 transceiver:
30 description:
31 phandle of the associated ISP1301 device - this is necessary for
32 the UDC controller for connecting to the USB physical layer
33
34 required:
35 - compatible
36 - reg
37 - interrupts
38 - transceiver
39
40 additionalProperties: false
41
42 examples:
43 - |
44 usbd@31020000 {
45 compatible = "nxp,lpc3220-udc";
46 reg = <0x31020000 0x300>;
47 interrupt-parent = <&mic>;
48 interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
49 transceiver = <&isp1301>;
50 };
51

3. 한국어 전문 번역

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

NXP LPC32xx USB Device Controller

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 schema는 NXP LPC32xx SoC USB Device Controller를 정의합니다. 관리자는 Frank Li입니다.

네 interrupt와 ISP1301 transceiver

12-33

`compatible`은 `nxp,lpc3220-udc`이고 register와 clock은 각각 하나입니다.

interrupt 네 개는 USB device low-priority, high-priority, DMA, external USB transceiver(OTG ATX) 순서입니다.

`transceiver`는 관련 ISP1301 device를 가리키는 phandle이며 UDC를 USB physical layer에 연결하는 데 필요합니다.

properties:
  compatible:
    const: nxp,lpc3220-udc

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: USB Device Low Priority Interrupt
      - description: USB Device High Priority Interrupt
      - description: USB Device DMA Interrupt
      - description: External USB Transceiver Interrupt (OTG ATX)

  clocks:
    maxItems: 1

  transceiver:
    description:
      phandle of the associated ISP1301 device - this is necessary for
      the UDC controller for connecting to the USB physical layer

필수 속성

34-41

필수 속성은 `compatible`, `reg`, `interrupts`, `transceiver`입니다. 정의되지 않은 추가 속성은 허용하지 않습니다.

required:
  - compatible
  - reg
  - interrupts
  - transceiver

additionalProperties: false

LPC3220 UDC 예제

42-50

예제 `usbd@31020000`은 0x300-byte register 영역, MIC interrupt 0x3d·0x3e·0x3c·0x3a와 `isp1301` transceiver를 사용합니다.

examples:
  - |
    usbd@31020000 {
        compatible = "nxp,lpc3220-udc";
        reg = <0x31020000 0x300>;
        interrupt-parent = <&mic>;
        interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
        transceiver = <&isp1301>;
    };