ARM: shmobile: porter: add HS-USB DT support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 14 Oct 2015 19:35:46 +0000 (22:35 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 15 Oct 2015 00:16:53 +0000 (09:16 +0900)
Enable HS-USB device  for the Porter board, defining the GPIO that the
driver should check  when probing (which is the ID output from MAX3355
OTG chip).

Note that there  will be pinctrl-related error messages if both internal
PCI  and  HS-USB drivers are enabled but they should be just ignored.

This patch is  analogous  to the commit 6f4f7156e0e6 ("ARM: shmobile:
henninger: enable HS-USB") as there  are no differences between the
boards in this respect.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-porter.dts

index fe0f12fc02a186da11f23a7d0e5aab9a87e70a48..9f9ffe322d171aff33b2fde33fb6b59f67cff19e 100644 (file)
        status = "okay";
 };
 
+&hsusb {
+       pinctrl-0 = <&usb0_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
+};
+
 &usbphy {
        status = "okay";
 };
This page took 0.025763 seconds and 5 git commands to generate.