1 ROCKCHIP USB2.0 PHY WITH INNO IP BLOCK
3 Required properties (phy (parent) node):
4 - compatible : should be one of the listed compatibles:
5 * "rockchip,px30-usb2phy"
6 * "rockchip,rk3228-usb2phy"
7 * "rockchip,rk3328-usb2phy"
8 * "rockchip,rk3366-usb2phy"
9 * "rockchip,rk3399-usb2phy"
10 * "rockchip,rv1108-usb2phy"
11 - reg : the address offset of grf for usb-phy configuration.
12 - #clock-cells : should be 0.
13 - clock-output-names : specify the 480m output clock name.
16 - clocks : phandle + phy specifier pair, for the input clock of phy.
17 - clock-names : input clock name of phy, must be "phyclk".
18 - assigned-clocks : phandle of usb 480m clock.
19 - assigned-clock-parents : parent of usb 480m clock, select between
20 usb-phy output 480m and xin24m.
21 Refer to clk/clock-bindings.txt for generic clock
23 - rockchip,usbgrf : phandle to the syscon managing the "usb general
24 register files". When set driver will request its
25 phandle as one companion-grf for some special SoCs
27 - extcon : phandle to the extcon device providing the cable state for
30 Required nodes : a sub-node is required for each port the phy provides.
31 The sub-node name is used to identify host or otg port,
32 and shall be the following entries:
33 * "otg-port" : the name of otg port.
34 * "host-port" : the name of host port.
36 Required properties (port (child) node):
37 - #phy-cells : must be 0. See ./phy-bindings.txt for details.
38 - interrupts : specify an interrupt for each entry in interrupt-names.
39 - interrupt-names : a list which should be one of the following cases:
41 * "otg-id" : for the otg id interrupt.
42 * "otg-bvalid" : for the otg vbus interrupt.
43 * "linestate" : for the host/otg linestate interrupt.
44 Some SoCs use one interrupt with the above muxed together, so for these
45 * "otg-mux" : otg-port interrupt, which mux otg-id/otg-bvalid/linestate
49 - phy-supply : phandle to a regulator that provides power to VBUS.
50 See ./phy-bindings.txt for details.
54 grf: syscon@ff770000 {
55 compatible = "rockchip,rk3366-grf", "syscon", "simple-mfd";
62 compatible = "rockchip,rk3366-usb2phy";
65 clock-output-names = "sclk_otgphy0_480m";
69 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
70 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
71 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
72 interrupt-names = "otg-id", "otg-bvalid", "linestate";
75 u2phy_host: host-port {
77 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
78 interrupt-names = "linestate";