From: Russell King Date: Sat, 8 Jul 2017 19:16:55 +0000 (+0100) Subject: arm64: dts: marvell: mcbin: add support for PCIe X-Git-Tag: v4.14-rc1~66^2^2^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b83e1669adce62e3ed4aae344c0a5d8b4b6520aa;p=platform%2Fkernel%2Flinux-exynos.git 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 Tested-by: Gregory CLEMENT (excepted the reset part) Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index 77f62e2..b9fe9d3 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";