1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/phy/phy-rockchip-inno-usb2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip USB2.0 phy with inno IP block
10 - Heiko Stuebner <heiko@sntech.de>
15 - rockchip,px30-usb2phy
16 - rockchip,rk3228-usb2phy
17 - rockchip,rk3328-usb2phy
18 - rockchip,rk3366-usb2phy
19 - rockchip,rk3399-usb2phy
20 - rockchip,rv1108-usb2phy
27 The usb 480m output clock name.
43 Phandle of the usb 480m clock.
45 assigned-clock-parents:
47 Parent of the usb 480m clock.
48 Select between usb-phy output 480m and xin24m.
49 Refer to clk/clock-bindings.txt for generic clock consumer properties.
53 Phandle to the extcon device providing the cable state for the otg phy.
56 $ref: /schemas/types.yaml#/definitions/phandle
58 Phandle to the syscon managing the 'usb general register files'.
59 When set the driver will request its phandle as one companion-grf
60 for some special SoCs (e.g rv1108).
64 additionalProperties: false
71 description: host linestate interrupt
78 Phandle to a regulator that provides power to VBUS.
79 See ./phy-bindings.txt for details.
88 additionalProperties: false
109 Phandle to a regulator that provides power to VBUS.
110 See ./phy-bindings.txt for details.
126 additionalProperties: false
130 #include <dt-bindings/clock/rk3399-cru.h>
131 #include <dt-bindings/interrupt-controller/arm-gic.h>
132 #include <dt-bindings/interrupt-controller/irq.h>
133 u2phy0: usb2-phy@e450 {
134 compatible = "rockchip,rk3399-usb2phy";
136 clocks = <&cru SCLK_USB2PHY0_REF>;
137 clock-names = "phyclk";
138 clock-output-names = "clk_usbphy0_480m";
142 u2phy0_host: host-port {
144 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
145 interrupt-names = "linestate";
148 u2phy0_otg: otg-port {
150 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
151 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
152 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
153 interrupt-names = "otg-bvalid", "otg-id", "linestate";