Finally , i modified the dts on NX , related to cd-gpio , and its works.
cd-gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(Q, 2) 0>;
status = "okay";
PQ02 is the pin we designed on carrier board to use as sd card 's cd-gpio
Another question , but it is on TX2NX
I take similar modify to dts , but it doesn’t work.
cd-gpios = <&tegra_main_gpio TEGRA_MAIN_GPIO(X, 4) 0>;
status = okay;|
PQ02 pinmux mapping on TX2NX is PX04 , both using same carrier board.
We also modified PX04 pull-high resistor on carrier board as TX2NX pinmux excel shows , which is no required on NX.
But sd card still not work on TX2NX in Ubuntu.
, and PX04=476 gpio can be export , it does’t change state while sd card plugged.
Is there any other modification required on TX2NX of using sd card?
They said sd card should be worked at least , except hot-plugged cd-gpio modify.
But it seems not worked on our board as they did.
My kernel log doesn’t show any mmc1 related info.
tegra186-p3636-0001-p3509-0000-a01.dts (4.8 KB)
And why their TX2NX dts is so many difference with mine?
Did i modify the right dts of l4t 4.6 on TX2NX?
path is sources/hardware/platform/lanai/kernel-dts/tegra186-p3636-0001-p3509-0000-a01.dts
On NX , we use the same carrier board as TX2NX .
The sd card is worked after modify as above reply told.
cd-gpio PQ02 on NX is mapping to TX2NX PX04