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,rk3308-usb2phy
18 - rockchip,rk3328-usb2phy
19 - rockchip,rk3366-usb2phy
20 - rockchip,rk3399-usb2phy
21 - rockchip,rv1108-usb2phy
28 The usb 480m output clock name.
44 Phandle of the usb 480m clock.
46 assigned-clock-parents:
48 Parent of the usb 480m clock.
49 Select between usb-phy output 480m and xin24m.
50 Refer to clk/clock-bindings.txt for generic clock consumer properties.
54 Phandle to the extcon device providing the cable state for the otg phy.
57 $ref: /schemas/types.yaml#/definitions/phandle
59 Phandle to the syscon managing the 'usb general register files'.
60 When set the driver will request its phandle as one companion-grf
61 for some special SoCs (e.g rv1108).
65 additionalProperties: false
72 description: host linestate interrupt
79 Phandle to a regulator that provides power to VBUS.
80 See ./phy-bindings.txt for details.
89 additionalProperties: false
110 Phandle to a regulator that provides power to VBUS.
111 See ./phy-bindings.txt for details.
127 additionalProperties: false
131 #include <dt-bindings/clock/rk3399-cru.h>
132 #include <dt-bindings/interrupt-controller/arm-gic.h>
133 #include <dt-bindings/interrupt-controller/irq.h>
134 u2phy0: usb2-phy@e450 {
135 compatible = "rockchip,rk3399-usb2phy";
137 clocks = <&cru SCLK_USB2PHY0_REF>;
138 clock-names = "phyclk";
139 clock-output-names = "clk_usbphy0_480m";
143 u2phy0_host: host-port {
145 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
146 interrupt-names = "linestate";
149 u2phy0_otg: otg-port {
151 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
152 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
153 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
154 interrupt-names = "otg-bvalid", "otg-id", "linestate";