요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/usb/nxp,lpc3220-udc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: NXP LPC32xx SoC USB Device Controller (UDC)
maintainers:
- Frank Li <[email protected]>
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
required:
- compatible
- reg
- interrupts
- transceiver
additionalProperties: false
examples:
- |
usbd@31020000 {
compatible = "nxp,lpc3220-udc";
reg = <0x31020000 0x300>;
interrupt-parent = <&mic>;
interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
transceiver = <&isp1301>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
NXP LPC32xx USB Device Controller
1-11GPL-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>;
};
요약과 해설
nxp,lpc3220-udc.yaml:1-50LPC32xx UDC의 네 interrupt와 ISP1301 transceiver 연결을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, clock, PHY, power, source path와 원문 줄 좌표를 원형대로 보존합니다.