요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/fsl,ls1028a.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Freescale layerscape SuperSpeed DWC3 USB SoC controller
maintainers:
- Frank Li <Frank.Li@nxp.com>
select:
properties:
compatible:
contains:
enum:
- fsl,ls1028a-dwc3
required:
- compatible
properties:
compatible:
items:
- enum:
- fsl,ls1028a-dwc3
- const: snps,dwc3
reg:
maxItems: 1
interrupts:
maxItems: 1
unevaluatedProperties: false
required:
- compatible
- reg
- interrupts
allOf:
- $ref: snps,dwc3.yaml#
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
usb@fe800000 {
compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
reg = <0xfe800000 0x100000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Layerscape SuperSpeed DWC3 controller
1-11GPL-2.0 또는 BSD-2-Clause로 배포되는 이 schema는 Freescale Layerscape SuperSpeed DWC3 USB SoC controller를 정의합니다. 관리자는 Frank Li입니다.
Schema 선택과 controller resource
12-34node의 `compatible` 목록에 `fsl,ls1028a-dwc3`가 들어 있으면 이 schema를 선택하고 `compatible`을 필수로 요구합니다.
compatible은 `fsl,ls1028a-dwc3`, `snps,dwc3` 순서입니다. register 영역과 interrupt는 각각 최대 하나이며 평가되지 않은 추가 속성을 허용하지 않습니다.
select:
properties:
compatible:
contains:
enum:
- fsl,ls1028a-dwc3
required:
- compatible
properties:
compatible:
items:
- enum:
- fsl,ls1028a-dwc3
- const: snps,dwc3
reg:
maxItems: 1
interrupts:
maxItems: 1
unevaluatedProperties: false
필수 속성과 공통 DWC3 schema
35-43필수 속성은 `compatible`, `reg`, `interrupts`입니다. 나머지 controller 정의는 `snps,dwc3.yaml`을 상속합니다.
required:
- compatible
- reg
- interrupts
allOf:
- $ref: snps,dwc3.yaml#
LS1028A DWC3 예제
44-52예제 `usb@fe800000`은 LS1028A compatible과 generic DWC3 fallback, 0x100000-byte register 영역, level-high GIC SPI 105를 사용합니다.
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
usb@fe800000 {
compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
reg = <0xfe800000 0x100000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
};
요약과 해설
fsl,ls1028a.yaml:1-52LS1028A DWC3 controller의 schema 선택, register·interrupt 제약과 예제를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, PHY, power, source path와 원문 줄 좌표를 원형대로 보존합니다.