1* Renesas R-Car generation 3 USB 2.0 PHY 2 3This file provides information on what the device node for the R-Car generation 43, RZ/G1C, RZ/G2 and RZ/A2 USB 2.0 PHY contain. 5 6Required properties: 7- compatible: "renesas,usb2-phy-r7s9210" if the device is a part of an R7S9210 8 SoC. 9 "renesas,usb2-phy-r8a77470" if the device is a part of an R8A77470 10 SoC. 11 "renesas,usb2-phy-r8a774a1" if the device is a part of an R8A774A1 12 SoC. 13 "renesas,usb2-phy-r8a774c0" if the device is a part of an R8A774C0 14 SoC. 15 "renesas,usb2-phy-r8a7795" if the device is a part of an R8A7795 16 SoC. 17 "renesas,usb2-phy-r8a7796" if the device is a part of an R8A7796 18 SoC. 19 "renesas,usb2-phy-r8a77965" if the device is a part of an 20 R8A77965 SoC. 21 "renesas,usb2-phy-r8a77990" if the device is a part of an 22 R8A77990 SoC. 23 "renesas,usb2-phy-r8a77995" if the device is a part of an 24 R8A77995 SoC. 25 "renesas,rcar-gen3-usb2-phy" for a generic R-Car Gen3, RZ/G2 or 26 RZ/A2 compatible device. 27 28 When compatible with the generic version, nodes must list the 29 SoC-specific version corresponding to the platform first 30 followed by the generic version. 31 32- reg: offset and length of the partial USB 2.0 Host register block. 33- clocks: clock phandle and specifier pair(s). 34- #phy-cells: see phy-bindings.txt in the same directory, must be <1> (and 35 using <0> is deprecated). 36 37The phandle's argument in the PHY specifier is the INT_STATUS bit of controller: 38- 1 = USBH_INTA (OHCI) 39- 2 = USBH_INTB (EHCI) 40- 3 = UCOM_INT (OTG and BC) 41 42Optional properties: 43To use a USB channel where USB 2.0 Host and HSUSB (USB 2.0 Peripheral) are 44combined, the device tree node should set interrupt properties to use the 45channel as USB OTG: 46- interrupts: interrupt specifier for the PHY. 47- vbus-supply: Phandle to a regulator that provides power to the VBUS. This 48 regulator will be managed during the PHY power on/off sequence. 49- renesas,no-otg-pins: boolean, specify when a board does not provide proper 50 otg pins. 51- dr_mode: string, indicates the working mode for the PHY. Can be "host", 52 "peripheral", or "otg". Should be set if otg controller is not used. 53 54 55Example (R-Car H3): 56 57 usb-phy@ee080200 { 58 compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy"; 59 reg = <0 0xee080200 0 0x700>; 60 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 61 clocks = <&cpg CPG_MOD 703>; 62 }; 63 64 usb-phy@ee0a0200 { 65 compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy"; 66 reg = <0 0xee0a0200 0 0x700>; 67 clocks = <&cpg CPG_MOD 702>; 68 }; 69