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,rk3568-usb2phy
22 - rockchip,rv1108-usb2phy
29 The usb 480m output clock name.
42 Phandle of the usb 480m clock.
44 assigned-clock-parents:
46 Parent of the usb 480m clock.
47 Select between usb-phy output 480m and xin24m.
48 Refer to clk/clock-bindings.txt for generic clock consumer properties.
52 Phandle to the extcon device providing the cable state for the otg phy.
55 description: Muxed interrupt for both ports
59 $ref: /schemas/types.yaml#/definitions/phandle
61 Phandle to the syscon managing the 'usb general register files'.
62 When set the driver will request its phandle as one companion-grf
63 for some special SoCs (e.g rv1108).
67 additionalProperties: false
74 description: host linestate interrupt
82 Phandle to a regulator that provides power to VBUS.
83 See ./phy-bindings.txt for details.
90 additionalProperties: false
111 Phandle to a regulator that provides power to VBUS.
112 See ./phy-bindings.txt for details.
130 const: rockchip,rk3568-usb2phy
159 additionalProperties: false
163 #include <dt-bindings/clock/rk3399-cru.h>
164 #include <dt-bindings/interrupt-controller/arm-gic.h>
165 #include <dt-bindings/interrupt-controller/irq.h>
166 u2phy0: usb2phy@e450 {
167 compatible = "rockchip,rk3399-usb2phy";
169 clocks = <&cru SCLK_USB2PHY0_REF>;
170 clock-names = "phyclk";
171 clock-output-names = "clk_usbphy0_480m";
174 u2phy0_host: host-port {
175 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
176 interrupt-names = "linestate";
180 u2phy0_otg: otg-port {
181 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
182 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
183 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
184 interrupt-names = "otg-bvalid", "otg-id", "linestate";