[PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

Hans Ulli Kroll
2017-02-08T20:15:22Z

This adds DT bindings for the Faraday FOTG2 host controller.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
---
Documentation/devicetree/bindings/usb/fotg2-host.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/fotg2-host.txt

diff --git a/Documentation/devicetree/bindings/usb/fotg2-host.txt b/Documentation/devicetree/bindings/usb/fotg2-host.txt
new file mode 100644
index 000000000000..4c07566a4bf5
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/fotg2-host.txt
@@ -0,0 +1,15 @@
+Faraday FOTG Host controller
+
+Required properties:
+
+- compatible: should be "faraday,fotg210-hcd"
+- reg: should contain one register range i.e. start and length
+- interrupts: description of the interrupt line
+
+Example for Gemini:
+
+usb@68000000 {
+ compatible = "faraday,fotg210-hcd";
+ reg = <0x68000000 0x1000>;
+ interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
+};
--
2.11.0