요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/brcm,bdc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Broadcom USB Device Controller (BDC)
maintainers:
- Al Cooper <alcooperx@gmail.com>
- Florian Fainelli <f.fainelli@gmail.com>
properties:
compatible:
items:
- enum:
- brcm,bdc-udc-v2
- brcm,bdc
reg:
maxItems: 1
interrupts:
maxItems: 1
phys:
minItems: 1
items:
- description: USB 2.0 or 3.0 PHY
- description: USB 3.0 PHY if there is a dedicated 2.0 PHY
clocks:
maxItems: 1
required:
- compatible
- reg
- interrupts
additionalProperties: false
examples:
- |
usb@f0b02000 {
compatible = "brcm,bdc-udc-v2";
reg = <0xf0b02000 0xfc4>;
interrupts = <0x0 0x60 0x0>;
phys = <&usbphy_0 0x0>;
clocks = <&sw_usbd>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Broadcom USB Device Controller
1-12GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 schema는 Broadcom USB Device Controller(BDC)를 정의합니다. 관리자는 Al Cooper와 Florian Fainelli입니다.
BDC resource와 PHY 구성
13-41`compatible`은 `brcm,bdc-udc-v2` 또는 `brcm,bdc`입니다. `reg`, `interrupts`, `clocks`는 각각 최대 한 항목입니다.
`phys`는 최소 한 항목입니다. 첫 PHY는 USB 2.0 또는 3.0 PHY이고, 전용 USB 2.0 PHY가 따로 있으면 두 번째 항목이 USB 3.0 PHY입니다. 필수 속성은 `compatible`, `reg`, `interrupts`이며 PHY와 clock은 선택 사항입니다. 추가 속성은 허용하지 않습니다.
properties:
compatible:
items:
- enum:
- brcm,bdc-udc-v2
- brcm,bdc
reg:
maxItems: 1
interrupts:
maxItems: 1
phys:
minItems: 1
items:
- description: USB 2.0 or 3.0 PHY
- description: USB 3.0 PHY if there is a dedicated 2.0 PHY
clocks:
maxItems: 1
required:
- compatible
- reg
- interrupts
additionalProperties: false
BDC v2 예제
42-50예제 `usb@f0b02000`은 BDC UDC v2 compatible, 0xfc4-byte register 영역, interrupt 0x60, `usbphy_0`의 PHY index 0과 `sw_usbd` clock을 사용합니다.
examples:
- |
usb@f0b02000 {
compatible = "brcm,bdc-udc-v2";
reg = <0xf0b02000 0xfc4>;
interrupts = <0x0 0x60 0x0>;
phys = <&usbphy_0 0x0>;
clocks = <&sw_usbd>;
};
요약과 해설
brcm,bdc.yaml:1-50Broadcom BDC의 compatible, 선택적 USB 2.0·3.0 PHY 구성과 BDC v2 예제를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, GPIO, PHY, endpoint, source path와 원문 줄 좌표를 원형대로 보존합니다.