1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/phy/rockchip,inno-usb2phy.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,rk3128-usb2phy
17 - rockchip,rk3228-usb2phy
18 - rockchip,rk3308-usb2phy
19 - rockchip,rk3328-usb2phy
20 - rockchip,rk3366-usb2phy
21 - rockchip,rk3399-usb2phy
22 - rockchip,rk3568-usb2phy
23 - rockchip,rk3588-usb2phy
24 - rockchip,rv1108-usb2phy
31 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 description: Muxed interrupt for both ports
69 $ref: /schemas/types.yaml#/definitions/phandle
71 Phandle to the syscon managing the 'usb general register files'.
72 When set the driver will request its phandle as one companion-grf
73 for some special SoCs (e.g rv1108).
77 additionalProperties: false
84 description: host linestate interrupt
92 Phandle to a regulator that provides power to VBUS.
93 See ./phy-bindings.txt for details.
100 additionalProperties: false
121 Phandle to a regulator that provides power to VBUS.
122 See ./phy-bindings.txt for details.
145 - rockchip,rk3568-usb2phy
146 - rockchip,rk3588-usb2phy
175 additionalProperties: false
179 #include <dt-bindings/clock/rk3399-cru.h>
180 #include <dt-bindings/interrupt-controller/arm-gic.h>
181 #include <dt-bindings/interrupt-controller/irq.h>
182 u2phy0: usb2phy@e450 {
183 compatible = "rockchip,rk3399-usb2phy";
185 clocks = <&cru SCLK_USB2PHY0_REF>;
186 clock-names = "phyclk";
187 clock-output-names = "clk_usbphy0_480m";
190 u2phy0_host: host-port {
191 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
192 interrupt-names = "linestate";
196 u2phy0_otg: otg-port {
197 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
198 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
199 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
200 interrupt-names = "otg-bvalid", "otg-id", "linestate";