summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-07-08 20:16:55 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-08-02 16:07:38 +0200
commitb83e1669adce62e3ed4aae344c0a5d8b4b6520aa (patch)
treebcb7ea60ff2f3d87d26c76e0ef8bb20332aee593 /arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
parent8a91e1580b98f046a0a792fb20f43dda53955535 (diff)
downloadlwn-b83e1669adce62e3ed4aae344c0a5d8b4b6520aa.tar.gz
lwn-b83e1669adce62e3ed4aae344c0a5d8b4b6520aa.zip
arm64: dts: marvell: mcbin: add support for PCIe
Add support for PCIe with the the PCIe reset signal wired up to the appropriate GPIO pin. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> (excepted the reset part) Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts')
-rw-r--r--arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
index 77f62e2ebfa4..b9fe9d3c085f 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
@@ -161,6 +161,15 @@
};
};
+&cpm_pcie0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&cpm_pcie_pins>;
+ num-lanes = <4>;
+ num-viewport = <8>;
+ reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_LOW>;
+ status = "okay";
+};
+
&cpm_pinctrl {
cpm_ge_mdio_pins: ge-mdio-pins {
marvell,pins = "mpp32", "mpp34";
@@ -178,6 +187,10 @@
marvell,pins = "mpp47";
marvell,function = "gpio";
};
+ cpm_pcie_pins: pcie-pins {
+ marvell,pins = "mpp52";
+ marvell,function = "gpio";
+ };
cpm_sdhci_pins: sdhci-pins {
marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59",
"mpp60", "mpp61";