Hi,
In our custorm board, I want use TX2 UART3(ttyTHS3).And I change the dts like this
wifi_over_pcie {
gpio-hog;
gpios = <TEGRA_MAIN_GPIO(R, 4) 0>;
output-low;
//output-high;
label = "wifi-over-pcie";
//status = "disabled";
status = "okay";
};
I check gpio status
sudo] password for nvidia:
GPIOs 248-255, platform/max77620-gpio, max77620-gpio, can sleep:
gpio-248 ( |external-connection:) in hi
gpio-253 ( |spmic_gpio_input_5 ) in lo
gpio-254 ( |spmic_gpio_input_6 ) in hi
GPIOs 256-319, platform/c2f0000.gpio, tegra-gpio-aon:
gpio-272 ( |temp_alert ) in hi
gpio-312 ( |Power ) in hi
gpio-313 ( |Volume Up ) in hi
gpio-314 ( |Volume Down ) in hi
gpio-315 ( |wifi-wake-ap ) in lo
GPIOs 320-511, platform/2200000.gpio, tegra-gpio:
gpio-412 ( |vdd-usb0-5v ) in hi
gpio-413 ( |vdd-usb1-5v ) in hi
gpio-420 ( |eqos_phy_reset ) out hi
gpio-421 ( |eqos_phy_intr ) in hi
gpio-424 ( |wifi-enable ) out hi
gpio-440 ( |hdmi2.0_hpd ) in lo
gpio-441 ( |hdmi2.0_hpd ) in lo
gpio-444 ( |wp ) in hi
gpio-445 ( |cd ) in hi
gpio-446 ( |en-vdd-sd ) out lo
gpio-456 ( |cam0-pwdn ) out lo
gpio-460 ( |wifi-over-pcie ) out lo
gpio-461 ( |cam0-rst ) out lo
gpio-479 ( |external-connection:) in lo
then I change output-high
GPIOs 248-255, platform/max77620-gpio, max77620-gpio, can sleep:
gpio-248 ( |external-connection:) in hi
gpio-253 ( |spmic_gpio_input_5 ) in lo
gpio-254 ( |spmic_gpio_input_6 ) in hi
GPIOs 256-319, platform/c2f0000.gpio, tegra-gpio-aon:
gpio-272 ( |temp_alert ) in hi
gpio-312 ( |Power ) in hi
gpio-313 ( |Volume Up ) in hi
gpio-314 ( |Volume Down ) in hi
gpio-315 ( |wifi-wake-ap ) in lo
GPIOs 320-511, platform/2200000.gpio, tegra-gpio:
gpio-412 ( |vdd-usb0-5v ) in hi
gpio-413 ( |vdd-usb1-5v ) in hi
gpio-420 ( |eqos_phy_reset ) out hi
gpio-421 ( |eqos_phy_intr ) in hi
gpio-424 ( |wifi-enable ) out hi
gpio-440 ( |hdmi2.0_hpd ) in lo
gpio-441 ( |hdmi2.0_hpd ) in lo
gpio-444 ( |wp ) in hi
gpio-445 ( |cd ) in hi
gpio-446 ( |en-vdd-sd ) out lo
gpio-456 ( |cam0-pwdn ) out lo
gpio-460 ( |wifi-over-pcie ) out hi
gpio-461 ( |cam0-rst ) out lo
gpio-479 ( |external-connection:) in lo
But uart still not work