요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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/microchip,usb2514.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Microchip USB2514 Hub Controller
maintainers:
- Fabio Estevam <festevam@gmail.com>
properties:
compatible:
oneOf:
- enum:
- usb424,2412
- usb424,2417
- usb424,2514
- usb424,2517
- items:
- enum:
- usb424,2512
- usb424,2513
- const: usb424,2514
reg: true
reset-gpios:
description: GPIO connected to the RESET_N pin.
vdd-supply:
description: 3.3V power supply.
vdda-supply:
description: 3.3V analog power supply.
clocks:
description: External 24MHz clock connected to the CLKIN pin.
maxItems: 1
required:
- compatible
- reg
patternProperties:
"^.*@[0-9a-f]{1,2}$":
description: The hard wired USB devices
type: object
$ref: /schemas/usb/usb-device.yaml
additionalProperties: true
allOf:
- $ref: usb-device.yaml#
- if:
not:
properties:
compatible:
contains:
const: usb424,2514
then:
properties:
vdda-supply: false
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/gpio/gpio.h>
usb {
#address-cells = <1>;
#size-cells = <0>;
usb-hub@1 {
compatible = "usb424,2514";
reg = <1>;
clocks = <&clks IMX6QDL_CLK_CKO>;
reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
vdd-supply = <®_3v3_hub>;
vdda-supply = <®_3v3a_hub>;
#address-cells = <1>;
#size-cells = <0>;
ethernet@1 {
compatible = "usbb95,772b";
reg = <1>;
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Microchip USB2514 hub controller
1-11GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 schema는 Microchip USB2514 hub controller 계열을 정의합니다. 관리자는 Fabio Estevam입니다.
Product compatible, reset와 전원
12-40직접 지원하는 USB product ID는 `usb424,2412`, `usb424,2417`, `usb424,2514`, `usb424,2517`입니다. `usb424,2512`와 `usb424,2513`은 `usb424,2514` fallback을 함께 지정합니다.
`reset-gpios`는 active-low RESET_N pin에 연결됩니다. `vdd-supply`와 `vdda-supply`는 각각 3.3 V digital·analog 전원이고, 외부 24 MHz clock은 CLKIN pin에 연결되며 하나만 허용됩니다.
properties:
compatible:
oneOf:
- enum:
- usb424,2412
- usb424,2417
- usb424,2514
- usb424,2517
- items:
- enum:
- usb424,2512
- usb424,2513
- const: usb424,2514
reg: true
reset-gpios:
description: GPIO connected to the RESET_N pin.
vdd-supply:
description: 3.3V power supply.
vdda-supply:
description: 3.3V analog power supply.
clocks:
description: External 24MHz clock connected to the CLKIN pin.
maxItems: 1
Hard-wired child와 VDDA 조건
41-65`compatible`과 `reg`가 필수입니다. 한두 자리 16진 unit address를 가진 child는 hard-wired USB device이며 `usb-device.yaml`을 따릅니다.
공통 USB device schema를 상속합니다. compatible 목록에 `usb424,2514`가 포함되지 않는 product에서는 `vdda-supply`를 허용하지 않습니다. 따라서 직접 2514와 2512·2513 fallback 조합에서만 analog supply를 쓸 수 있습니다. 평가되지 않은 추가 속성은 허용하지 않습니다.
required:
- compatible
- reg
patternProperties:
"^.*@[0-9a-f]{1,2}$":
description: The hard wired USB devices
type: object
$ref: /schemas/usb/usb-device.yaml
additionalProperties: true
allOf:
- $ref: usb-device.yaml#
- if:
not:
properties:
compatible:
contains:
const: usb424,2514
then:
properties:
vdda-supply: false
unevaluatedProperties: false
Hub와 hard-wired Ethernet child
66-90예제 `usb-hub@1`은 port 1의 USB2514 hub로, i.MX6 clock, active-low GPIO 12 reset, 3.3 V digital·analog regulator를 사용합니다.
hub 아래 `ethernet@1`은 product `usbb95,772b`인 hard-wired USB Ethernet device를 port 1에 연결합니다.
examples:
- |
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/gpio/gpio.h>
usb {
#address-cells = <1>;
#size-cells = <0>;
usb-hub@1 {
compatible = "usb424,2514";
reg = <1>;
clocks = <&clks IMX6QDL_CLK_CKO>;
reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
vdd-supply = <®_3v3_hub>;
vdda-supply = <®_3v3a_hub>;
#address-cells = <1>;
#size-cells = <0>;
ethernet@1 {
compatible = "usbb95,772b";
reg = <1>;
};
};
};
요약과 해설
microchip,usb2514.yaml:1-90USB2514 계열 product ID, reset·전원 조건과 hard-wired Ethernet child를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, clock, PHY, supply, source path와 원문 줄 좌표를 원형대로 보존합니다.