| Platform DesignWare HS OTG USB 2.0 controller |
| ----------------------------------------------------- |
| |
| Required properties: |
| - compatible : One of: |
| - "amlogic,dwc2": The DWC2 USB controller instance in AMLOGIC MESON G12A. |
| - reg : Should contain 1 register range (address and length) |
| - interrupts : Should contain 1 interrupt |
| - clocks: clock provider specifier |
| - clock-names: shall be "usb_general" and "usb1" |
| Refer to clk/clock-bindings.txt for generic clock consumer properties |
| |
| Optional properties: |
| - phys: phy provider specifier |
| - phy-names: shall be "usb2-phy" |
| Refer to phy/phy-bindings.txt for generic phy consumer properties |
| - dr_mode: shall be one of "host", "peripheral" and "otg" |
| Refer to usb/generic.txt |
| |
| Example: |
| |
| dwc2_a: dwc2_a@ff400000 { |
| compatible = "amlogic,dwc2"; |
| reg = <0x0 0xff400000 0x0 0x40000>; |
| interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| clocks = <&xtal>, <&xtal>; |
| clock-names = "usb_general", |
| "usb1"; |
| phys = <&usbphy>; |
| phy-names = "usb2-phy"; |
| }; |