Commit 8dcb5a11 authored by Hanjie Lin's avatar Hanjie Lin Committed by Felipe Balbi
Browse files

dt-bindings: usb: dwc3: Add the Amlogic A1 Family DWC3 Glue Bindings



The Amlogic A1 SoC Family embeds 1 USB Controllers:
 - a DWC3 IP configured as Host for USB2 and USB3

A glue connects the controllers to the USB2 PHY of A1 SoC.

Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarYue Wang <yue.wang@amlogic.com>
Signed-off-by: default avatarHanjie Lin <hanjie.lin@amlogic.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 48ba02b2
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -22,10 +22,14 @@ description: |
  The DWC3 Glue controls the PHY routing and power, an interrupt line is
  connected to the Glue to serve as OTG ID change detection.

  The Amlogic A1 embeds a DWC3 USB IP Core configured for USB2 in
  host-only mode.

properties:
  compatible:
    enum:
      - amlogic,meson-g12a-usb-ctrl
      - amlogic,meson-a1-usb-ctrl

  ranges: true

@@ -84,6 +88,25 @@ required:
  - phys
  - dr_mode

allOf:
  - if:
      properties:
        compatible:
          enum:
            - amlogic,meson-a1-usb-ctrl

    then:
      properties:
        clocks:
          minItems: 3
        clock-names:
          items:
            - const: usb_ctrl
            - const: usb_bus
            - const: xtal_usb_ctrl
      required:
        - clock-names

examples:
  - |
    usb: usb@ffe09000 {