ARM: shmobile: koelsch: enable internal PCI
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 24 Jun 2014 18:11:44 +0000 (22:11 +0400)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:25:09 +0000 (09:25 +0900)
Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
[horms+renesas@verge.net.au: minor witespace changes]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 7540aeb0dd2c830ed490e7227d51bc3050ac798c)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-koelsch.dts

index 5dac673..23486c0 100644 (file)
                renesas,groups = "i2c6";
                renesas,function = "i2c6";
        };
+
+       usb0_pins: usb0 {
+               renesas,groups = "usb0";
+               renesas,function = "usb0";
+       };
+
+       usb1_pins: usb1 {
+               renesas,groups = "usb1";
+               renesas,function = "usb1";
+       };
 };
 
 &ether {
        };
 };
 
+&pci0 {
+       status = "okay";
+       pinctrl-0 = <&usb0_pins>;
+       pinctrl-names = "default";
+};
+
+&pci1 {
+       status = "okay";
+       pinctrl-0 = <&usb1_pins>;
+       pinctrl-names = "default";
+};
+
 &pcie_bus_clk {
        status = "okay";
 };