xref: /freebsd/sys/contrib/device-tree/Bindings/usb/ti,usb8041.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/usb/ti,usb8041.yaml#
5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6b97ee269SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: TI USB8041 USB 3.0 hub controller
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadotmaintainers:
10b97ee269SEmmanuel Vadot  - Alexander Stein <alexander.stein@ew.tq-group.com>
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel VadotallOf:
13b97ee269SEmmanuel Vadot  - $ref: usb-device.yaml#
14b97ee269SEmmanuel Vadot
15b97ee269SEmmanuel Vadotproperties:
16b97ee269SEmmanuel Vadot  compatible:
17b97ee269SEmmanuel Vadot    enum:
18b97ee269SEmmanuel Vadot      - usb451,8140
19b97ee269SEmmanuel Vadot      - usb451,8142
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadot  reg: true
22b97ee269SEmmanuel Vadot
23b97ee269SEmmanuel Vadot  reset-gpios:
24b97ee269SEmmanuel Vadot    items:
25b97ee269SEmmanuel Vadot      - description: GPIO specifier for GRST# pin.
26b97ee269SEmmanuel Vadot
27b97ee269SEmmanuel Vadot  vdd-supply:
28b97ee269SEmmanuel Vadot    description:
29b97ee269SEmmanuel Vadot      VDD power supply to the hub
30b97ee269SEmmanuel Vadot
31b97ee269SEmmanuel Vadot  peer-hub:
32b97ee269SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
33b97ee269SEmmanuel Vadot    description:
34b97ee269SEmmanuel Vadot      phandle to the peer hub on the controller.
35b97ee269SEmmanuel Vadot
36b97ee269SEmmanuel Vadotrequired:
37b97ee269SEmmanuel Vadot  - compatible
38b97ee269SEmmanuel Vadot  - reg
39b97ee269SEmmanuel Vadot  - peer-hub
40b97ee269SEmmanuel Vadot
41b97ee269SEmmanuel VadotadditionalProperties: false
42b97ee269SEmmanuel Vadot
43b97ee269SEmmanuel Vadotexamples:
44b97ee269SEmmanuel Vadot  - |
45b97ee269SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
46b97ee269SEmmanuel Vadot
47b97ee269SEmmanuel Vadot    usb {
48b97ee269SEmmanuel Vadot        dr_mode = "host";
49b97ee269SEmmanuel Vadot        #address-cells = <1>;
50b97ee269SEmmanuel Vadot        #size-cells = <0>;
51b97ee269SEmmanuel Vadot
52b97ee269SEmmanuel Vadot        /* 2.0 hub on port 1 */
53b97ee269SEmmanuel Vadot        hub_2_0: hub@1 {
54b97ee269SEmmanuel Vadot          compatible = "usb451,8142";
55b97ee269SEmmanuel Vadot          reg = <1>;
56b97ee269SEmmanuel Vadot          peer-hub = <&hub_3_0>;
57b97ee269SEmmanuel Vadot          reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
58b97ee269SEmmanuel Vadot        };
59b97ee269SEmmanuel Vadot
60b97ee269SEmmanuel Vadot        /* 3.0 hub on port 2 */
61b97ee269SEmmanuel Vadot        hub_3_0: hub@2 {
62b97ee269SEmmanuel Vadot          compatible = "usb451,8140";
63b97ee269SEmmanuel Vadot          reg = <2>;
64b97ee269SEmmanuel Vadot          peer-hub = <&hub_2_0>;
65b97ee269SEmmanuel Vadot          reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
66b97ee269SEmmanuel Vadot        };
67b97ee269SEmmanuel Vadot    };
68