ARM: dts: imx6sx-softing-vining-2000: Enable PCI support
authorFabio Estevam <festevam@gmail.com>
Wed, 19 Feb 2020 13:07:12 +0000 (10:07 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 10 Mar 2020 06:14:30 +0000 (14:14 +0800)
Add PCI support.

Since this board has an active high PCI reset line, pass the
'reset-gpio-active-high' property.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sx-softing-vining-2000.dts

index 61c7e72..6b728b0 100644 (file)
                >;
        };
 
+       pinctrl_pcie: pciegrp {
+               fsl,pins = <
+                       MX6SX_PAD_NAND_DATA02__GPIO4_IO_6       0x10b0
+               >;
+       };
+
        pinctrl_pwm1: pwm1grp-1 {
                fsl,pins = <
                        /* blue LED */
        };
 };
 
+&pcie {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pcie>;
+       reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>;
+       reset-gpio-active-high;
+       status = "okay";
+};
+
 &pwm1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm1>;