Commit b83e1669 authored by Russell King's avatar Russell King Committed by Gregory CLEMENT

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: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Tested-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
(excepted the reset part)
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 8a91e158
...@@ -161,6 +161,15 @@ ge_phy: ethernet-phy@0 { ...@@ -161,6 +161,15 @@ ge_phy: ethernet-phy@0 {
}; };
}; };
&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_pinctrl {
cpm_ge_mdio_pins: ge-mdio-pins { cpm_ge_mdio_pins: ge-mdio-pins {
marvell,pins = "mpp32", "mpp34"; marvell,pins = "mpp32", "mpp34";
...@@ -178,6 +187,10 @@ cpm_xhci_vbus_pins: xhci0-vbus-pins { ...@@ -178,6 +187,10 @@ cpm_xhci_vbus_pins: xhci0-vbus-pins {
marvell,pins = "mpp47"; marvell,pins = "mpp47";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
cpm_pcie_pins: pcie-pins {
marvell,pins = "mpp52";
marvell,function = "gpio";
};
cpm_sdhci_pins: sdhci-pins { cpm_sdhci_pins: sdhci-pins {
marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59", marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59",
"mpp60", "mpp61"; "mpp60", "mpp61";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment