diff mbox

arm: mvebu: enable mini-PCIe connectors on Armada 370 RD

Message ID 1371562661-7139-1-git-send-email-thomas.petazzoni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Petazzoni June 18, 2013, 1:37 p.m. UTC
The Armada 370 RD board has two internal mini-PCIe connectors. This
commit adds the necessary Device Tree informations to enable the usage
of those mini-PCIe connectors.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Florian Fainelli <florian@openwrt.org>
---
 arch/arm/boot/dts/armada-370-rd.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

Jason Cooper June 19, 2013, 2:29 p.m. UTC | #1
On Tue, Jun 18, 2013 at 03:37:41PM +0200, Thomas Petazzoni wrote:
> The Armada 370 RD board has two internal mini-PCIe connectors. This
> commit adds the necessary Device Tree informations to enable the usage
> of those mini-PCIe connectors.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Florian Fainelli <florian@openwrt.org>
> ---
>  arch/arm/boot/dts/armada-370-rd.dts | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)

Applied to mvebu/dt

thx,

Jason.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index 130f839..ec1587b 100644
--- a/arch/arm/boot/dts/armada-370-rd.dts
+++ b/arch/arm/boot/dts/armada-370-rd.dts
@@ -84,6 +84,22 @@ 
 					gpios = <&gpio0 6 1>;
 				};
 			};
+
+			pcie-controller {
+				status = "okay";
+
+				/* Internal mini-PCIe connector */
+				pcie@1,0 {
+					/* Port 0, Lane 0 */
+					status = "okay";
+				};
+
+				/* Internal mini-PCIe connector */
+				pcie@2,0 {
+					/* Port 1, Lane 0 */
+					status = "okay";
+				};
+			};
 		};
 	};
  };