mPCIe reset issue

I use a mPCIe to M.2 adapter for mPCIe card, I can’t detect the device on the Android which version is Firefly-RK3399_Android7.1.2_MP_180802.img. But when I change the version to Firefly-RK3399-ubuntu16.04-edp-20180118.img, the card can be detected by lspci command.
I use the oscilloscope to measure the power and reset pins on the mPCIe card.
1.Android : The power(3.3V) and reset pins(1.8V) are pulled high after system power on.
2.Ubuntu : The power pin is pulled high after system power on, after 100ms , the reset pin is pulled download from 1.8V to 0V, and after 40ms , reset pin is pulled high from 0V to 3V.
How can I do the pull low and high of reset pin in android.

http://en.t-firefly.com/doc/product/info/id/458.html

If use adb shell for control it , just use linux kernel GPIO Export function.

After adding pull low and high in rockchip_pcie_init_port() function, pcie card can be detected now.
I have another two questions
1.Which dtb is using for android?
2.Currently, my pcie card is using M.2 and mPCIe adapter and plugs in the top side M.2 socket. The mPCIe card can be detected now.
But when I plug in the mPCIe card to the mPCIe socket which is on the bottom side of the firefly rk3399 board, the mPCIe card can’t be detected. Is there any release image can detect the card by mPCIe socket(bottom side) ? How to let the mPCIe socket work ?
Thanks.

James035 Posted at 11/1/2018 13:13
After adding pull low and high in rockchip_pcie_init_port() function, pcie card can be detected now. …

  1. http://en.t-firefly.com/doc/product/info/id/275.html
    rk3399-firefly.dts
    2.http://en.t-firefly.com/doc/product/info/id/293.html interface definition
    http://en.t-firefly.com/doc/product/info/id/270.html Module you can use .

Accroding to Firefly-RK3399_V10_SCH_(2017-2-8).pdf, page27 , left side , MINI PCIE-3G/4G.
It looks like only usb device can be used for this socket, since I only see the 3G_USB_DM,3G_USB_DP have been connected.
Compre to the right side(M2.NGFF), lots of pci related pins are connected.
Am I right ?

James035 Posted at 11/1/2018 15:35
Accroding to Firefly-RK3399_V10_SCH_(2017-2-8).pdf, page27 , left side , MINI PCIE-3G/4G.
It looks …

Yes

Thanks, it’s helpful to me.

The content of this article really inspired me, thank you for sharing! I’m sharing the CAS-005 Valid vce dumps resources for free—best of luck to you!

This article is truly exceptional, thank you for sharing it with us. Wish me luck on my HPE7-A02 latest exam camp free exam! Hope it goes well!

This article gave me new motivation, thank you for sharing! I got promoted and received a raise using this Exam C-BCBAI-2502 lab questions. Now it’s free for all. Wishing you success in your career journey!

This article is absolutely remarkable, I’m so thankful for your share. The IFC reliable exam forum helped me land a promotion and salary increase. It’s free for everyone now. Best of luck with your promotions!