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,rk3366-usb2phy"
6 * "rockchip,rk3399-usb2phy"
7 - reg : the address offset of grf for usb-phy configuration.
8 - #clock-cells : should be 0.
9 - clock-output-names : specify the 480m output clock name.
12 - clocks : phandle + phy specifier pair, for the input clock of phy.
13 - clock-names : input clock name of phy, must be "phyclk".
14 - rockchip,u2phy-tuning; when set, tuning u2phy to improve usb2 SI.
16 Required nodes : a sub-node is required for each port the phy provides.
17 The sub-node name is used to identify host or otg port,
18 and shall be the following entries:
19 * "otg-port" : the name of otg port.
20 * "host-port" : the name of host port.
22 Required properties (port (child) node):
23 - #phy-cells : must be 0. See ./phy-bindings.txt for details.
24 - interrupts : specify an interrupt for each entry in interrupt-names.
25 - interrupt-names : a list which shall be the following entries:
26 * "otg-id" : for the otg id interrupt.
27 * "otg-bvalid" : for the otg vbus interrupt.
28 * "linestate" : for the host/otg linestate interrupt.
31 - phy-supply : phandle to a regulator that provides power to VBUS.
32 See ./phy-bindings.txt for details.
33 - rockchip,utmi-avalid : when set, the usb2 phy will use avalid
34 status bit to get vbus status. If not, it will use
35 bvalid status bit to get vbus status by default.
36 - rockchip,vbus-always-on: when set, indicates that the otg vbus
41 grf: syscon@ff770000 {
42 compatible = "rockchip,rk3366-grf", "syscon", "simple-mfd";
49 compatible = "rockchip,rk3366-usb2phy";
52 clock-output-names = "sclk_otgphy0_480m";
56 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
57 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
58 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
59 interrupt-names = "otg-id", "otg-bvalid", "linestate";
63 u2phy_host: host-port {
65 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
66 interrupt-names = "linestate";