[cip-dev] [PATCH 77/86] ARM: dts: iwg22d-sodimm: Enable internal PCI

Fabrizio Castro
2018-06-29T14:39:18Z

From: Biju Das <biju.das@bp.renesas.com>

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers
attached to them.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit bc058f6f03e47610c994a97ecf3bf8a3ea44efee)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
index bebea47..ceca4ec 100644
--- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
+++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
@@ -69,6 +69,11 @@
function = "sdhi0";
power-source = <3300>;
};
+
+ usb1_pins: usb1 {
+ groups = "usb1";
+ function = "usb1";
+ };
};

&scif4 {
@@ -106,3 +111,9 @@
cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
status = "okay";
};
+
+&pci1 {
+ status = "okay";
+ pinctrl-0 = <&usb1_pins>;
+ pinctrl-names = "default";
+};
--
2.7.4