brintos

brintos / linux-shallow public Read only

0
0
Text · 2.6 KiB · e2a72de Raw
112 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/usb/microchip,usb5744.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip USB5744 4-port Hub Controller8 9description:10  Microchip's USB5744 SmartHubTM IC is a 4 port, SuperSpeed (SS)/Hi-Speed (HS),11  low power, low pin count configurable and fully compliant with the USB 3.112  Gen 1 specification. The USB5744 also supports Full Speed (FS) and Low Speed13  (LS) USB signaling, offering complete coverage of all defined USB operating14  speeds. The new SuperSpeed hubs operate in parallel with the USB 2.015  controller, so 5 Gbps SuperSpeed data transfers are not affected by slower16  USB 2.0 traffic.17 18maintainers:19  - Michal Simek <michal.simek@amd.com>20  - Mubin Sayyed <mubin.sayyed@amd.com>21  - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>22 23properties:24  compatible:25    enum:26      - usb424,274427      - usb424,574428      - microchip,usb574429 30  reg:31    maxItems: 132 33  reset-gpios:34    maxItems: 135    description:36      GPIO controlling the GRST# pin.37 38  vdd-supply:39    description:40      3V3 power supply to the hub41 42  vdd2-supply:43    description:44      1V2 power supply to the hub45 46  peer-hub:47    $ref: /schemas/types.yaml#/definitions/phandle48    description:49      phandle to the peer hub on the controller.50 51  i2c-bus:52    $ref: /schemas/types.yaml#/definitions/phandle53    description:54      phandle of an usb hub connected via i2c bus.55 56required:57  - compatible58  - reg59 60allOf:61  - if:62      properties:63        compatible:64          contains:65            const: microchip,usb574466    then:67      properties:68        reset-gpios: false69        vdd-supply: false70        vdd2-supply: false71        peer-hub: false72        i2c-bus: false73    else:74      $ref: /schemas/usb/usb-device.yaml75 76additionalProperties: false77 78examples:79  - |80    #include <dt-bindings/gpio/gpio.h>81    i2c: i2c {82        #address-cells = <1>;83        #size-cells = <0>;84        hub: usb-hub@2d {85            compatible = "microchip,usb5744";86            reg = <0x2d>;87        };88    };89 90    usb {91        #address-cells = <1>;92        #size-cells = <0>;93 94        /* 2.0 hub on port 1 */95        hub_2_0: hub@1 {96            compatible = "usb424,2744";97            reg = <1>;98            peer-hub = <&hub_3_0>;99            i2c-bus = <&hub>;100            reset-gpios = <&gpio 3 GPIO_ACTIVE_LOW>;101        };102 103        /* 3.0 hub on port 2 */104        hub_3_0: hub@2 {105            compatible = "usb424,5744";106            reg = <2>;107            peer-hub = <&hub_2_0>;108            i2c-bus = <&hub>;109            reset-gpios = <&gpio 3 GPIO_ACTIVE_LOW>;110        };111    };112