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,rk3228-usb2phy"
6 * "rockchip,rk3328-usb2phy"
7 * "rockchip,rk3366-usb2phy"
8 * "rockchip,rk3399-usb2phy"
9 - reg : the address offset of grf for usb-phy configuration.
10 - #clock-cells : should be 0.
11 - clock-output-names : specify the 480m output clock name.
14 - clocks : phandle + phy specifier pair, for the input clock of phy.
15 - clock-names : input clock name of phy, must be "phyclk".
16 - assigned-clocks : phandle of usb 480m clock.
17 - assigned-clock-parents : parent of usb 480m clock, select between
18 usb-phy output 480m and xin24m.
19 Refer to clk/clock-bindings.txt for generic clock
22 Required nodes : a sub-node is required for each port the phy provides.
23 The sub-node name is used to identify host or otg port,
24 and shall be the following entries:
25 * "otg-port" : the name of otg port.
26 * "host-port" : the name of host port.
28 Required properties (port (child) node):
29 - #phy-cells : must be 0. See ./phy-bindings.txt for details.
30 - interrupts : specify an interrupt for each entry in interrupt-names.
31 - interrupt-names : a list which shall be the following entries:
32 * "otg-id" : for the otg id interrupt.
33 * "otg-bvalid" : for the otg vbus interrupt.
34 * "linestate" : for the host/otg linestate interrupt.
37 - phy-supply : phandle to a regulator that provides power to VBUS.
38 See ./phy-bindings.txt for details.
42 grf: syscon@ff770000 {
43 compatible = "rockchip,rk3366-grf", "syscon", "simple-mfd";
50 compatible = "rockchip,rk3366-usb2phy";
53 clock-output-names = "sclk_otgphy0_480m";
57 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
58 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
59 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
60 interrupt-names = "otg-id", "otg-bvalid", "linestate";
64 u2phy_host: host-port {
66 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
67 interrupt-names = "linestate";