Skip to content

Commit b83e166

Browse files
Russell Kinggclement
authored andcommitted
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>
1 parent 8a91e15 commit b83e166

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,15 @@
161161
};
162162
};
163163

164+
&cpm_pcie0 {
165+
pinctrl-names = "default";
166+
pinctrl-0 = <&cpm_pcie_pins>;
167+
num-lanes = <4>;
168+
num-viewport = <8>;
169+
reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_LOW>;
170+
status = "okay";
171+
};
172+
164173
&cpm_pinctrl {
165174
cpm_ge_mdio_pins: ge-mdio-pins {
166175
marvell,pins = "mpp32", "mpp34";
@@ -178,6 +187,10 @@
178187
marvell,pins = "mpp47";
179188
marvell,function = "gpio";
180189
};
190+
cpm_pcie_pins: pcie-pins {
191+
marvell,pins = "mpp52";
192+
marvell,function = "gpio";
193+
};
181194
cpm_sdhci_pins: sdhci-pins {
182195
marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59",
183196
"mpp60", "mpp61";

0 commit comments

Comments
 (0)