| From 90cce61d85c8b50d09861de3f80ea4cfa577f81d Mon Sep 17 00:00:00 2001 |
| From: Ben Dooks <ben.dooks@codethink.co.uk> |
| Date: Tue, 24 Jun 2014 22:02:21 +0400 |
| Subject: ARM: shmobile: lager: enable internal PCI |
| |
| Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to |
| them. |
| |
| Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> |
| Reviewed-by: Ian Molton <ian.molton@codethink.co.uk> |
| [Sergei: enabled PCI0] |
| Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
| Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| |
| (cherry picked from commit d8584660676e00157735abcb34b09d690d96ee16) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/boot/dts/r8a7790-lager.dts | 33 +++++++++++++++++++++++++++++++++ |
| 1 file changed, 33 insertions(+) |
| |
| diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts |
| index 850dff8aedb9..17ff3f9e31ee 100644 |
| --- a/arch/arm/boot/dts/r8a7790-lager.dts |
| +++ b/arch/arm/boot/dts/r8a7790-lager.dts |
| @@ -219,6 +219,21 @@ |
| renesas,groups = "i2c3"; |
| renesas,function = "i2c3"; |
| }; |
| + |
| + usb0_pins: usb0 { |
| + renesas,groups = "usb0"; |
| + renesas,function = "usb0"; |
| + }; |
| + |
| + usb1_pins: usb1 { |
| + renesas,groups = "usb1"; |
| + renesas,function = "usb1"; |
| + }; |
| + |
| + usb2_pins: usb2 { |
| + renesas,groups = "usb2"; |
| + renesas,function = "usb2"; |
| + }; |
| }; |
| |
| ðer { |
| @@ -368,3 +383,21 @@ |
| regulator-always-on; |
| }; |
| }; |
| + |
| +&pci0 { |
| + status = "okay"; |
| + pinctrl-0 = <&usb0_pins>; |
| + pinctrl-names = "default"; |
| +}; |
| + |
| +&pci1 { |
| + status = "okay"; |
| + pinctrl-0 = <&usb1_pins>; |
| + pinctrl-names = "default"; |
| +}; |
| + |
| +&pci2 { |
| + status = "okay"; |
| + pinctrl-0 = <&usb2_pins>; |
| + pinctrl-names = "default"; |
| +}; |
| -- |
| 2.1.2 |
| |