arm: mvebu: cf gt-8k: dts: add PCIe slot reset support
authorBaruch Siach <baruch@tkos.co.il>
Sun, 3 Feb 2019 13:15:40 +0000 (15:15 +0200)
committerStefan Roese <sr@denx.de>
Mon, 11 Feb 2019 08:39:12 +0000 (09:39 +0100)
Describe the mini-PCIe slot gpio reset signal. This enables PCIe devices
on Clearfog GT-8K.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-8040-clearfog-gt-8k.dts

index 498105f25f0555cd9572822341441f7cc85533ad..cdff44aca5aff6cf493f93cfb814dfaac83c6b4f 100644 (file)
                     0    0    0    0    0    0    0xe  0xe  0xe  0xe
                     0xe  0xe  0 >;
 
+       cpm_pcie_reset_pins: cpm-pcie-reset-pins {
+               marvell,pins = < 32 >;
+               marvell,function = <0>;
+       };
+
        cpm_xhci_vbus_pins: cpm-xhci-vbus-pins {
                marvell,pins = < 47 >;
                marvell,function = <0>;
 
 &cpm_pcie0 {
        num-lanes = <1>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&cpm_pcie_reset_pins>;
+       marvell,reset-gpio = <&cpm_gpio1 0 GPIO_ACTIVE_LOW>;
        status = "okay";
 };