MLK-22398-7 DTS: imx6sx: Update iMX6SX SDB DTS for PCIE
authorYe Li <ye.li@nxp.com>
Tue, 6 Aug 2019 07:25:29 +0000 (00:25 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 9 Aug 2019 09:30:03 +0000 (02:30 -0700)
Add pci0 alias and gpr property for pcie node, and fix its reset-gpio
polarity.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/dts/imx6sx-sdb.dtsi
arch/arm/dts/imx6sx.dtsi

index 003fbfd..f9ce136 100644 (file)
 &pcie {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie>;
-       reset-gpio = <&gpio2 0 0>;
+       reset-gpio = <&gpio2 0 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
 
index 5061b97..b42a30e 100644 (file)
@@ -66,6 +66,7 @@
                usb1 = &usbotg2;
                usbgadget0 = &usbg1;
                usbgadget1 = &usbg2;
+               pci0 = &pcie;
        };
 
        cpus {
                        pcie-phy-supply = <&reg_pcie_phy>;
                        power-domains = <&pd_disp>;
                        fsl,max-link-speed = <2>;
+                       gpr = <&gpr>;
                        status = "disabled";
                };
        };