From: Sergio Prado Date: Fri, 25 Nov 2016 14:47:28 +0000 (-0200) Subject: dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller X-Git-Tag: v4.10-rc1~150^2~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4000188bda345e0bc0a2e3eaf3e2e8d23f58174d;p=karo-tx-linux.git dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller Adds the device tree bindings description for Samsung S3C2410 and compatible USB OHCI controller. Signed-off-by: Sergio Prado Acked-by: Krzysztof Kozlowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt new file mode 100644 index 000000000000..e45b38ce2986 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt @@ -0,0 +1,22 @@ +Samsung S3C2410 and compatible SoC USB controller + +OHCI + +Required properties: + - compatible: should be "samsung,s3c2410-ohci" for USB host controller + - reg: address and lenght of the controller memory mapped region + - interrupts: interrupt number for the USB OHCI controller + - clocks: Should reference the bus and host clocks + - clock-names: Should contain two strings + "usb-bus-host" for the USB bus clock + "usb-host" for the USB host clock + +Example: + +usb0: ohci@49000000 { + compatible = "samsung,s3c2410-ohci"; + reg = <0x49000000 0x100>; + interrupts = <0 0 26 3>; + clocks = <&clocks UCLK>, <&clocks HCLK_USBH>; + clock-names = "usb-bus-host", "usb-host"; +};