-
1 BSP environment:
TX2 jetpack 4.6 L4T R32.6.1 kernel 4.9 aarch64
TX2 (p3310) -
2 Problem:
the project need spi (H15 G16 G15) config. we find that thay are setted as gpio, how to change them?
root@ubuntu-desktop:/home/ubuntu# cat /sys/kernel/debug/gpio
...
gpio-291 ( )
gpio-292 ( )
gpio-293 ( )
gpio-294 ( )
gpio-295 ( )
gpio-296 (AO_DMIC_IN_DAT |gpio_can_stb ) out hi
gpio-297 (AO_DMIC_IN_CLK |gpio_can_en ) out hi
gpio-298 (GPIO9_MOTION_INT )
gpio-299 ( )
gpio-300 ( )
gpio-301 ( )
gpio-302 ( |gpio_can_stb ) out hi
gpio-303 ( |gpio_can_en ) out hi
gpio-304 ( )
gpio-305 ( )
gpio-306 ( )
gpio-307 ( )
gpio-308 ( )
gpio-309 ( )
gpio-310 ( )
gpio-311 ( )
gpio-312 ( |Power ) in hi
gpio-313 ( |Volume Up ) in hi
gpio-314 ( |Volume Down ) in hi
gpio-315 ( |wifi-wake-ap ) in lo
gpio-316 ( |bt_host_wake ) in lo
gpiochip0: GPIOs 320-511, parent: platform/2200000.gpio, tegra-gpio:
gpio-320 ( )
gpio-321 ( )
gpio-322 ( )
gpio-323 ( )
gpio-324 ( )
gpio-325 ( )
gpio-326 ( )
gpio-327 ( )
gpio-328 ( )
gpio-329 ( )
gpio-330 ( )
gpio-331 ( )
gpio-332 ( )
gpio-333 ( )
gpio-334 ( )
gpio-335 ( )
gpio-336 ( )
gpio-337 ( )
gpio-338 ( )
gpio-339 ( )
gpio-340 ( )
gpio-341 ( )
gpio-342 ( )
gpio-343 ( )
gpio-344 ( )
gpio-345 ( )
gpio-346 ( )
gpio-347 ( )
gpio-348 ( )
gpio-349 ( )
gpio-350 ( )
gpio-351 ( )
gpio-352 ( )
gpio-353 ( )
gpio-354 ( )
gpio-355 ( )
gpio-356 ( )
gpio-357 ( )
gpio-358 ( )
gpio-359 ( )
gpio-360 ( )
gpio-361 ( )
gpio-362 ( )
gpio-363 ( )
gpio-364 ( )
gpio-365 ( )
gpio-366 ( )
gpio-367 ( )
gpio-368 ( )
gpio-369 ( )
gpio-370 ( )
gpio-371 ( )
gpio-372 ( )
gpio-373 ( )
gpio-374 ( )
gpio-375 ( )
gpio-376 ( )
gpio-377 ( )
gpio-378 ( )
gpio-379 ( )
gpio-380 ( )
gpio-381 ( |reset_gpio ) out lo
gpio-382 ( )
gpio-383 ( )
gpio-384 ( )
gpio-385 ( )
gpio-386 ( )
gpio-387 ( )
gpio-388 (GPIO8_ALS_PROX_INT )
gpio-389 (GPIO11_AP_WAKE_BT )
gpio-390 ( )
gpio-391 ( )
gpio-392 (I2S0_CLK )
gpio-393 (I2S0_SDOUT )
gpio-394 (I2S0_SDIN )
gpio-395 (I2S0_LRCLK )
gpio-396 (AUDIO_MCLK )
gpio-397 (GPIO20_AUD_INT )
gpio-398 (GPIO1_AUD_RST |tlv320aic32x4 rstn ) out hi
gpio-399 ( )
gpio-400 ( )
gpio-401 ( )
gpio-402 ( )
gpio-403 ( )
gpio-404 ( )
gpio-405 ( )
gpio-406 ( )
gpio-407 ( )
gpio-408 ( )
gpio-409 ( )
gpio-410 ( )
gpio-411 ( )
gpio-412 ( |vdd-usb0-5v ) out lo
gpio-413 ( |vdd-usb1-5v ) out lo
gpio-414 ( )
gpio-415 ( )
gpio-416 ( )
gpio-417 ( )
gpio-418 ( )
gpio-419 ( )
gpio-420 ( |eqos_phy_reset ) out hi
gpio-421 ( )
gpio-422 ( )
gpio-423 ( )
gpio-424 ( |wlan_pwr ) out hi
gpio-425 ( )
gpio-426 ( )
gpio-427 (SPI1_CLK )
gpio-428 (SPI1_MISO )
gpio-429 (SPI1_MOSI )
gpio-430 (SPI1_CS0 )
gpio-431 ( )
gpio-432 ( )
gpio-433 ( )
gpio-434 ( )
gpio-435 ( )
gpio-436 ( )
gpio-437 ( )
gpio-438 ( )
gpio-439 ( )
gpio-440 ( )
gpio-441 ( |hdmi2.0_hpd ) in lo
gpio-442 ( )
gpio-443 ( )
gpio-444 ( |wp ) in hi
gpio-445 ( |cd ) in hi
gpio-446 ( |en-vdd-sd ) out lo
gpio-447 ( )
gpio-448 ( )
gpio-449 ( )
gpio-450 ( )
gpio-451 ( )
gpio-452 ( )
gpio-453 ( )
gpio-454 ( )
gpio-455 ( )
gpio-456 ( )
gpio-457 ( )
gpio-458 ( )
gpio-459 ( )
gpio-460 ( )
gpio-461 ( |camera-control-outpu) out hi
gpio-462 ( )
gpio-463 ( )
gpio-464 ( )
gpio-465 ( )
gpio-466 (UART0_RTS )
gpio-467 (UART0_CTS )
gpio-468 ( )
gpio-469 ( )
gpio-470 ( )
gpio-471 ( )
gpio-472 ( )
gpio-473 ( )
gpio-474 ( )
gpio-475 ( )
gpio-476 ( )
gpio-477 ( )
gpio-478 ( )
gpio-479 ( |external-connection:) in lo
gpio-480 ( )
gpio-481 (GPIO16_MDM_WAKE_AP )
gpio-482 ( )
gpio-483 ( )
gpio-484 ( |bt_ext_wake ) out hi
gpio-485 ( )
gpio-486 ( )
gpio-487 ( )
gpio-488 ( )
gpio-489 ( )
gpio-490 ( )
gpio-491 ( )
gpio-492 ( )
gpio-493 ( )
gpio-494 ( )
gpio-495 ( )
gpio-496 ( )
gpio-497 ( )
gpio-498 ( )
gpio-499 ( )
so, could some one help to enable them?
we down load the pinmux excel, but so confused by the name. G16 named spi2_mosi and also named SPI1_DIN. Does the SPI1_DIN mean the above “gpio-429 (SPI1_MOSI )”?
and in the tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg file, there is “spi1” in the comment, are they specify the same pin?
what is the followiing so called “som connector”, “signal name”, and “ic ball name”, what is the difference?
tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg (28.6 KB)