Hi,
According to “Jetson AGX Orin Series Pin and Function Names Guide” and P3737_A04_Concept_schematics.pdf
pin F60 AKA SPI2_MOSI is connected to CAM_INT3 and should be available for use as SPI2_MOSI or GPIO,
but when I try:
sudo sh -c " echo 330 > /sys/class/gpio/export "
I get
I/O error
This is because this GPIO is being reserved for dsi-vdd-1v8-bl-en in file:
hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-fixed-regulator.dtsi
dsi_vdd_1v8_bl_en: regulator@116 {
compatible = “regulator-fixed”;
reg = <116>;
regulator-name = “dsi-vdd-1v8-bl-en”;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&p3737_vdd_1v8_sys>;
gpio = <&tegra_aon_gpio TEGRA234_AON_GPIO(CC, 2) 0>; //CAM_INT3, GPIO_ACTIVE_HIGH == 0
enable-active-high;
};
What is this? I cannot find any dsi-vdd-1v8 in the schematics. Or is it inside SOM?
How can I use SPI2_MOSI line for my purposes?
Thank you