ARM: shmobile: porter: enable internal PCI and USB PHY
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 12 Oct 2015 22:12:18 +0000 (01:12 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 Oct 2015 01:00:12 +0000 (10:00 +0900)
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 <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-porter.dts

index c46aad3954f41ce6e960518eccd8f9ce14a047f9..fe0f12fc02a186da11f23a7d0e5aab9a87e70a48 100644 (file)
                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";
        };
 };
 
+&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";
 };