요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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,bcm7445-ehci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Broadcom STB USB EHCI Controller
allOf:
- $ref: usb-hcd.yaml
maintainers:
- Al Cooper <[email protected]>
properties:
compatible:
const: brcm,bcm7445-ehci
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
description: Clock specifier for the EHCI clock
clock-names:
const: sw_usb
phys:
maxItems: 1
phy-names:
const: usbphy
required:
- compatible
- reg
- interrupts
- phys
- clocks
additionalProperties: false
examples:
- |
usb@f0b00300 {
compatible = "brcm,bcm7445-ehci";
reg = <0xf0b00300 0xa8>;
interrupts = <0x0 0x5a 0x0>;
phys = <&usbphy_0 0x0>;
phy-names = "usbphy";
clocks = <&usb20>;
clock-names = "sw_usb";
};
...
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Broadcom STB USB EHCI controller
1-14GPL-2.0-only 또는 BSD-2-Clause 라이선스의 이 schema는 Broadcom STB USB EHCI controller를 정의하고 공통 `usb-hcd.yaml`을 참조합니다. 관리자는 Al Cooper입니다.
EHCI resource와 필수 속성
15-46`compatible`은 `brcm,bcm7445-ehci`입니다. `reg`, `interrupts`, EHCI clock을 지정하는 `clocks`, `phys`는 각각 최대 한 항목입니다. `clock-names`는 `sw_usb`, `phy-names`는 `usbphy`입니다.
필수 속성은 `compatible`, `reg`, `interrupts`, `phys`, `clocks`입니다. Clock과 PHY 이름은 schema에 정의되지만 required 목록에는 포함되지 않습니다. 평가되지 않은 추가 속성은 허용하지 않습니다.
properties:
compatible:
const: brcm,bcm7445-ehci
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
description: Clock specifier for the EHCI clock
clock-names:
const: sw_usb
phys:
maxItems: 1
phy-names:
const: usbphy
required:
- compatible
- reg
- interrupts
- phys
- clocks
additionalProperties: false
BCM7445 EHCI 예제
47-59예제 `usb@f0b00300`은 0xa8-byte register 영역, interrupt 0x5a, `usbphy_0`의 PHY index 0, `usb20` clock을 사용합니다. PHY 이름은 `usbphy`, clock 이름은 `sw_usb`입니다.
examples:
- |
usb@f0b00300 {
compatible = "brcm,bcm7445-ehci";
reg = <0xf0b00300 0xa8>;
interrupts = <0x0 0x5a 0x0>;
phys = <&usbphy_0 0x0>;
phy-names = "usbphy";
clocks = <&usb20>;
clock-names = "sw_usb";
};
...
요약과 해설
brcm,bcm7445-ehci.yaml:1-59Broadcom BCM7445 EHCI controller의 clock, PHY, interrupt resource와 예제를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, clock, interrupt, GPIO, PHY, endpoint, source path와 원문 줄 좌표를 원형대로 보존합니다.