Skip to content

Commit

Permalink
ARM: shmobile: porter: add HS-USB DT support
Browse files Browse the repository at this point in the history
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 6f4f715 ("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>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Oct 15, 2015
1 parent 99f7445 commit c794f6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/r8a7791-porter.dts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@
status = "okay";
};

&hsusb {
pinctrl-0 = <&usb0_pins>;
pinctrl-names = "default";

status = "okay";
renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
};

&usbphy {
status = "okay";
};
Expand Down

0 comments on commit c794f6a

Please sign in to comment.