usb: dwc_otg_310: fix usb vbus power controlled by pmic
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / usb / usb3503.txt
1 SMSC USB3503 High-Speed Hub Controller
2
3 Required properties:
4 - compatible: Should be "smsc,usb3503" or "smsc,usb3503a".
5
6 Optional properties:
7 - reg: Specifies the i2c slave address, it is required and should be 0x08
8        if I2C is used.
9 - connect-gpios: Should specify GPIO for connect.
10 - disabled-ports: Should specify the ports unused.
11         '1' or '2' or '3' are available for this property to describe the port
12         number. 1~3 property values are possible to be described.
13         Do not describe this property if all ports have to be enabled.
14 - intn-gpios: Should specify GPIO for interrupt.
15 - reset-gpios: Should specify GPIO for reset.
16 - initial-mode: Should specify initial mode.
17                 (1 for HUB mode, 2 for STANDBY mode)
18 - refclk: Clock used for driving REFCLK signal (optional, if not provided
19         the driver assumes that clock signal is always available, its
20         rate is specified by REF_SEL pins and a value from the primary
21         reference clock frequencies table is used)
22 - refclk-frequency: Frequency of the REFCLK signal as defined by REF_SEL
23         pins (optional, if not provided, driver will not set rate of the
24         REFCLK signal and assume that a value from the primary reference
25         clock frequencies table is used)
26
27 Examples:
28         usb3503@08 {
29                 compatible = "smsc,usb3503";
30                 reg = <0x08>;
31                 connect-gpios = <&gpx3 0 1>;
32                 disabled-ports = <2 3>;
33                 intn-gpios = <&gpx3 4 1>;
34                 reset-gpios = <&gpx3 5 1>;
35                 initial-mode = <1>;
36         };