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".
15 Required nodes : a sub-node is required for each port the phy provides.
16 The sub-node name is used to identify host or otg port,
17 and shall be the following entries:
18 * "otg-port" : the name of otg port.
19 * "host-port" : the name of host port.
21 Required properties (port (child) node):
22 - #phy-cells : must be 0. See ./phy-bindings.txt for details.
23 - interrupts : specify an interrupt for each entry in interrupt-names.
24 - interrupt-names : a list which shall be the following entries:
25 * "otg-id" : for the otg id interrupt.
26 * "otg-bvalid" : for the otg vbus interrupt.
27 * "linestate" : for the host/otg linestate interrupt.
30 - phy-supply : phandle to a regulator that provides power to VBUS.
31 See ./phy-bindings.txt for details.
32 - rockchip,utmi-avalid : when set, the usb2 phy will use avalid
33 status bit to get vbus status. If not, it will use
34 bvalid status bit to get vbus status by default.
35 - rockchip,vbus-always-on: when set, indicates that the otg vbus
40 grf: syscon@ff770000 {
41 compatible = "rockchip,rk3366-grf", "syscon", "simple-mfd";
48 compatible = "rockchip,rk3366-usb2phy";
51 clock-output-names = "sclk_otgphy0_480m";
55 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
57 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
58 interrupt-names = "otg-id", "otg-bvalid", "linestate";
62 u2phy_host: host-port {
64 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
65 interrupt-names = "linestate";