rcar-gen3-phy-usb2.txt 2.07 KB
Newer Older
1 2 3
* Renesas R-Car generation 3 USB 2.0 PHY

This file provides information on what the device node for the R-Car generation
4
3 and RZ/G2 USB 2.0 PHY contain.
5 6

Required properties:
7
- compatible: "renesas,usb2-phy-r8a774a1" if the device is a part of an R8A774A1
8 9
	      SoC.
	      "renesas,usb2-phy-r8a774c0" if the device is a part of an R8A774C0
10 11
	      SoC.
	      "renesas,usb2-phy-r8a7795" if the device is a part of an R8A7795
12 13
	      SoC.
	      "renesas,usb2-phy-r8a7796" if the device is a part of an R8A7796
14
	      SoC.
15 16
	      "renesas,usb2-phy-r8a77965" if the device is a part of an
	      R8A77965 SoC.
17 18
	      "renesas,usb2-phy-r8a77990" if the device is a part of an
	      R8A77990 SoC.
19 20
	      "renesas,usb2-phy-r8a77995" if the device is a part of an
	      R8A77995 SoC.
21 22
	      "renesas,rcar-gen3-usb2-phy" for a generic R-Car Gen3 or RZ/G2
	      compatible device.
23 24 25 26 27

	      When compatible with the generic version, nodes must list the
	      SoC-specific version corresponding to the platform first
	      followed by the generic version.

28 29 30 31 32 33
- reg: offset and length of the partial USB 2.0 Host register block.
- clocks: clock phandle and specifier pair(s).
- #phy-cells: see phy-bindings.txt in the same directory, must be <0>.

Optional properties:
To use a USB channel where USB 2.0 Host and HSUSB (USB 2.0 Peripheral) are
34 35
combined, the device tree node should set interrupt properties to use the
channel as USB OTG:
36
- interrupts: interrupt specifier for the PHY.
37 38
- vbus-supply: Phandle to a regulator that provides power to the VBUS. This
	       regulator will be managed during the PHY power on/off sequence.
39 40
- renesas,no-otg-pins: boolean, specify when a board does not provide proper
		       otg pins.
41 42 43 44

Example (R-Car H3):

	usb-phy@ee080200 {
45
		compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
46
		reg = <0 0xee080200 0 0x700>;
47
		interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
48
		clocks = <&cpg CPG_MOD 703>;
49 50 51
	};

	usb-phy@ee0a0200 {
52
		compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
53
		reg = <0 0xee0a0200 0 0x700>;
54
		clocks = <&cpg CPG_MOD 702>;
55
	};