diff options
author | Hans Ulli Kroll <ulli.kroll@googlemail.com> | 2018-10-11 15:35:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-15 09:57:29 -0400 |
commit | ef1a2a62cc48c81c68599ff56cc0a97b954c87fe (patch) | |
tree | e1878a88bc91028058bb1de625b3fc76f25f7c13 | |
parent | 325b9313ec3be56c8e2fe03f977fee19cec75820 (diff) |
usb: host: add DT bindings for faraday fotg2
This adds device tree bindings for the Faraday FOTG2
dual-mode host controller.
Cc: devicetree@vger.kernel.org
Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | Documentation/devicetree/bindings/usb/faraday,fotg210.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/faraday,fotg210.txt b/Documentation/devicetree/bindings/usb/faraday,fotg210.txt new file mode 100644 index 000000000000..06a2286e2054 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/faraday,fotg210.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | Faraday FOTG Host controller | ||
2 | |||
3 | This OTG-capable USB host controller is found in Cortina Systems | ||
4 | Gemini and other SoC products. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: should be one of: | ||
8 | "faraday,fotg210" | ||
9 | "cortina,gemini-usb", "faraday,fotg210" | ||
10 | - reg: should contain one register range i.e. start and length | ||
11 | - interrupts: description of the interrupt line | ||
12 | |||
13 | Optional properties: | ||
14 | - clocks: should contain the IP block clock | ||
15 | - clock-names: should be "PCLK" for the IP block clock | ||
16 | |||
17 | Required properties for "cortina,gemini-usb" compatible: | ||
18 | - syscon: a phandle to the system controller to access PHY registers | ||
19 | |||
20 | Optional properties for "cortina,gemini-usb" compatible: | ||
21 | - cortina,gemini-mini-b: boolean property that indicates that a Mini-B | ||
22 | OTG connector is in use | ||
23 | - wakeup-source: see power/wakeup-source.txt | ||
24 | |||
25 | Example for Gemini: | ||
26 | |||
27 | usb@68000000 { | ||
28 | compatible = "cortina,gemini-usb", "faraday,fotg210"; | ||
29 | reg = <0x68000000 0x1000>; | ||
30 | interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; | ||
31 | clocks = <&cc 12>; | ||
32 | clock-names = "PCLK"; | ||
33 | syscon = <&syscon>; | ||
34 | wakeup-source; | ||
35 | }; | ||