blob: c9783da3e75c5b537854229ffe82c3930cd07e49 [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/onboard_usb_hub.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Binding for onboard USB hubs
maintainers:
- Matthias Kaehlcke <mka@chromium.org>
properties:
compatible:
items:
- enum:
- realtek,rts5411
- const: onboard-usb-hub
vdd-supply:
description:
phandle to the regulator that provides power to the hub.
required:
- compatible
- vdd-supply
examples:
- |
usb_hub: usb-hub {
compatible = "realtek,rts5411", "onboard-usb-hub";
vdd-supply = <&pp3300_hub>;
};
usb_controller {
dr_mode = "host";
#address-cells = <1>;
#size-cells = <0>;
/* 2.0 hub on port 1 */
hub@1 {
compatible = "usbbda,5411";
reg = <1>;
hub = <&usb_hub>;
};
/* 3.0 hub on port 2 */
hub@2 {
compatible = "usbbda,411";
reg = <2>;
hub = <&usb_hub>;
};
};
...