Skip to content

Commit

Permalink
ARM: shmobile: porter: enable internal PCI and USB PHY
Browse files Browse the repository at this point in the history
Enable  internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached
to them and also enable  USB PHY device  for the Porter board.  We have to
enable  everything in one patch since EHCI/OHCI devices are already linked
to the USB PHY device.

Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
  • Loading branch information
Sergei Shtylyov authored and horms committed Oct 13, 2015
1 parent f9953c5 commit 99f7445
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/r8a7791-porter.dts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@
renesas,function = "i2c2";
};

usb0_pins: usb0 {
renesas,groups = "usb0";
renesas,function = "usb0";
};

usb1_pins: usb1 {
renesas,groups = "usb1";
renesas,function = "usb1";
};

vin0_pins: vin0 {
renesas,groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0";
Expand Down Expand Up @@ -245,6 +255,24 @@
};
};

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

status = "okay";
};

&pci1 {
pinctrl-0 = <&usb1_pins>;
pinctrl-names = "default";

status = "okay";
};

&usbphy {
status = "okay";
};

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

0 comments on commit 99f7445

Please sign in to comment.