← Documents Documentation/devicetree/bindings/usb/ti,usb8020b.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / USB

TI USB8020B USB 3.0 Hub Controller

USB8020B의 USB ID, GRST#, VDD와 USB 2.0·3.0 peer hub를 설명합니다.

Source pathDocumentation/devicetree/bindings/usb/ti,usb8020b.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

ti,usb8020b.yaml:1-69

USB8020B의 USB ID, GRST#, VDD와 USB 2.0·3.0 peer hub를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, regulator, USB ID, graph 구조, source path와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/usb/ti,usb8020b.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: TI USB8020B USB 3.0 hub controller
8
9 maintainers:
10 - Macpaul Lin <[email protected]>
11
12 allOf:
13 - $ref: usb-device.yaml#
14
15 properties:
16 compatible:
17 enum:
18 - usb451,8025
19 - usb451,8027
20
21 reg: true
22
23 reset-gpios:
24 items:
25 - description: GPIO specifier for GRST# pin.
26
27 vdd-supply:
28 description:
29 VDD power supply to the hub
30
31 peer-hub:
32 $ref: /schemas/types.yaml#/definitions/phandle
33 description:
34 phandle to the peer hub on the controller.
35
36 required:
37 - compatible
38 - reg
39 - peer-hub
40
41 additionalProperties: false
42
43 examples:
44 - |
45 #include <dt-bindings/gpio/gpio.h>
46
47 usb {
48 dr_mode = "host";
49 #address-cells = <1>;
50 #size-cells = <0>;
51
52 /* 2.0 hub on port 1 */
53 hub_2_0: hub@1 {
54 compatible = "usb451,8027";
55 reg = <1>;
56 peer-hub = <&hub_3_0>;
57 reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
58 vdd-supply = <&usb_hub_fixed_3v3>;
59 };
60
61 /* 3.0 hub on port 2 */
62 hub_3_0: hub@2 {
63 compatible = "usb451,8025";
64 reg = <2>;
65 peer-hub = <&hub_2_0>;
66 reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
67 vdd-supply = <&usb_hub_fixed_3v3>;
68 };
69 };
70

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

TI USB8020B USB 3.0 hub

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 TI USB8020B USB 3.0 hub controller를 정의합니다. 관리자는 Macpaul Lin입니다.

USB ID, reset, 전원과 peer hub

12-35

공통 `usb-device.yaml`을 상속합니다. compatible은 `usb451,8025` 또는 `usb451,8027`이고 register는 공통 USB device 형식을 사용합니다.

`reset-gpios`는 GRST# pin용 GPIO, `vdd-supply`는 hub VDD 전원입니다. `peer-hub`는 같은 controller에 있는 반대 속도 hub를 가리키는 phandle입니다.

allOf:
  - $ref: usb-device.yaml#

properties:
  compatible:
    enum:
      - usb451,8025
      - usb451,8027

  reg: true

  reset-gpios:
    items:
      - description: GPIO specifier for GRST# pin.

  vdd-supply:
    description:
      VDD power supply to the hub

  peer-hub:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      phandle to the peer hub on the controller.

필수 속성과 확장 제한

36-42

compatible, register와 `peer-hub`가 필수이며 추가 속성은 허용하지 않습니다.

required:
  - compatible
  - reg
  - peer-hub

additionalProperties: false

USB 2.0·3.0 peer hub 예제

43-69

host controller의 port 1에는 USB 2.0 hub `usb451,8027`, port 2에는 USB 3.0 hub `usb451,8025`를 둡니다. 두 node는 `peer-hub`로 서로를 참조하고 같은 active-high reset GPIO 7과 3.3V fixed regulator를 공유합니다.

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    usb {
        dr_mode = "host";
        #address-cells = <1>;
        #size-cells = <0>;

        /* 2.0 hub on port 1 */
        hub_2_0: hub@1 {
            compatible = "usb451,8027";
            reg = <1>;
            peer-hub = <&hub_3_0>;
            reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
            vdd-supply = <&usb_hub_fixed_3v3>;
        };

        /* 3.0 hub on port 2 */
        hub_3_0: hub@2 {
            compatible = "usb451,8025";
            reg = <2>;
            peer-hub = <&hub_2_0>;
            reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
            vdd-supply = <&usb_hub_fixed_3v3>;
        };
    };