MLK-21490 arm64: dts: imx8qxp: use power-on-gpio to power on EP device
authorFugang Duan <fugang.duan@nxp.com>
Wed, 17 Apr 2019 07:12:20 +0000 (15:12 +0800)
committerFugang Duan <fugang.duan@nxp.com>
Thu, 18 Apr 2019 09:07:52 +0000 (17:07 +0800)
Pcie driver power-on-gpio pin to control EP device's power,
firstly power down, then power up when it registers pcie port.
So using the pin for PCIe wlan EP device is better.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dtsi

index 21b4400..7b33c47 100755 (executable)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcieb>;
        clkreq-gpio = <&gpio4 1 GPIO_ACTIVE_LOW>;
-       disable-gpio = <&pca9557_a 2 GPIO_ACTIVE_LOW>;
+       power-on-gpio = <&pca9557_a 2 GPIO_ACTIVE_HIGH>;
        reset-gpio = <&gpio4 0 GPIO_ACTIVE_LOW>;
        epdev_on-supply = <&epdev_on>;
        status = "okay";