Can any of you tell detailed steps to interface i2s memes INMP441 microphone with Jetson Orin Nano?
currently, i have enabled i2s with the help of jetson-io
and connected inmp441 to orin nano
I got to know that we have to customize device tree, i dont know, which .dts file to edit for device tree in orin nano, can any of you tell which to edit and location of that file too??
Connections are like:
SCK->pin12, R/L->pin 35, SD->pin 40, VCC->pin 1, GND->pin 6, WS->open
kayccc
October 20, 2023, 12:29am
3
I checked with this, but i didn’t get how exactly to modify the device tree and also which .dts file to modify also.
I’m new to device tree configuration.
is there any video’s related to configure device tree in jetson devices?
Hi prateekha3,
What’s your Jetpack version in use?
Could you share the result of the following commands on your devkit?
$ ls -l /boot/dtb/
$ ls -l /boot
Jetpack Version:
Package: nvidia-jetpack
Version: 5.1.2-b104
Architecture: arm64
Maintainer: NVIDIA Corporation
$ ls -l /boot/dtb/
total 340
-rw-r--r-- 1 root root 347610 Aug 3 08:51 kernel_tegra234-p3767-0003-p3768-0000-a0.dtb
$ ls -l /boot
total 120860
drwxr-xr-x 2 root root 4096 Oct 19 16:15 dtb
drwxr-xr-x 2 root root 4096 Oct 10 10:27 extlinux
-rw-r--r-- 1 root root 33782272 Aug 3 08:51 Image
-rw-r--r-- 1 root root 33782272 Aug 2 01:19 Image.t19x
-rw-r--r-- 1 root root 4096 Aug 2 01:19 Image.t19x.sig
-rw-r--r-- 1 root root 9782446 Aug 3 08:51 initrd
lrwxrwxrwx 1 root root 25 Oct 4 14:06 initrd.img -> initrd.img-5.10.120-tegra
-rw-r--r-- 1 root root 27648402 Oct 4 14:06 initrd.img-5.10.120-tegra
-rw-r--r-- 1 root root 9782448 Aug 2 01:19 initrd.t19x
-rw-r--r-- 1 root root 4096 Aug 2 01:19 initrd.t19x.sig
-rw-r--r-- 1 root root 347610 Aug 3 08:51 kernel_tegra234-p3767-0003-p3768-0000-a0.dtb
-rw-r--r-- 1 root root 348155 Oct 10 10:27 kernel_tegra234-p3767-0003-p3768-0000-a0-user-custom.dtb
-rw-r--r-- 1 root root 13523 Aug 2 01:19 tegra194-p2822-camera-dual-imx274-overlay.dtbo
-rw-r--r-- 1 root root 3234 Aug 2 01:19 tegra194-p2822-camera-e2832-overlay.dtbo
-rw-r--r-- 1 root root 4354 Aug 2 01:19 tegra194-p2822-camera-e3326-overlay.dtbo
-rw-r--r-- 1 root root 4167 Aug 2 01:19 tegra194-p2822-camera-e3331-overlay.dtbo
-rw-r--r-- 1 root root 18595 Aug 2 01:19 tegra194-p2822-camera-e3333-overlay.dtbo
-rw-r--r-- 1 root root 8320 Aug 2 01:19 tegra194-p2822-camera-eCAM130A_CUXVR-overlay.dtbo
-rw-r--r-- 1 root root 8690 Aug 2 01:19 tegra194-p2822-camera-imx185-overlay.dtbo
-rw-r--r-- 1 root root 7086 Aug 2 01:19 tegra194-p2822-camera-imx390-overlay.dtbo
-rw-r--r-- 1 root root 1087 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-adafruit-sph0645lm4h.dtbo
-rw-r--r-- 1 root root 1083 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-adafruit-uda1334a.dtbo
-rw-r--r-- 1 root root 1297 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-csi.dtbo
-rw-r--r-- 1 root root 393888 Aug 2 01:19 tegra194-p2888-0001-p2822-0000.dtb
-rw-r--r-- 1 root root 4096 Aug 2 01:19 tegra194-p2888-0001-p2822-0000.dtb.sig
-rw-r--r-- 1 root root 3987 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-fe-pi-audio.dtbo
-rw-r--r-- 1 root root 4585 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-hdr40.dtbo
-rw-r--r-- 1 root root 1833 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-m2ke.dtbo
-rw-r--r-- 1 root root 393920 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-maxn.dtb
-rw-r--r-- 1 root root 4096 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-maxn.dtb.sig
-rw-r--r-- 1 root root 1035 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-overlay.dtbo
-rw-r--r-- 1 root root 3183 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-respeaker-4-mic-array.dtbo
-rw-r--r-- 1 root root 3219 Aug 2 01:19 tegra194-p2888-0001-p2822-0000-respeaker-4-mic-lin-array.dtbo
-rw-r--r-- 1 root root 1055 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-adafruit-sph0645lm4h.dtbo
-rw-r--r-- 1 root root 1051 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-adafruit-uda1334a.dtbo
-rw-r--r-- 1 root root 1817 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-csi.dtbo
-rw-r--r-- 1 root root 405312 Aug 2 01:19 tegra194-p2888-0004-e3900-0000.dtb
-rw-r--r-- 1 root root 4096 Aug 2 01:19 tegra194-p2888-0004-e3900-0000.dtb.sig
-rw-r--r-- 1 root root 4874 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-dual-imx274.dtbo
-rw-r--r-- 1 root root 3955 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-fe-pi-audio.dtbo
-rw-r--r-- 1 root root 4389 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-hdr40.dtbo
-rw-r--r-- 1 root root 3035 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-imx274.dtbo
-rw-r--r-- 1 root root 3151 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-respeaker-4-mic-array.dtbo
-rw-r--r-- 1 root root 3187 Aug 2 01:19 tegra194-p2888-0004-e3900-0000-respeaker-4-mic-lin-array.dtbo
-rw-r--r-- 1 root root 394976 Aug 2 01:19 tegra194-p2888-0008-p2822-0000.dtb
-rw-r--r-- 1 root root 4096 Aug 2 01:19 tegra194-p2888-0008-p2822-0000.dtb.sig
-rw-r--r-- 1 root root 394936 Aug 2 01:19 tegra194-p2888-0008-p2822-0000-maxn.dtb
-rw-r--r-- 1 root root 883 Aug 2 01:19 tegra194-p2888-0008-p2822-0000-overlay.dtbo
-rw-r--r-- 1 root root 326704 Aug 2 01:19 tegra194-p3668-0000-p3509-0000.dtb
-rw-r--r-- 1 root root 4096 Aug 2 01:19 tegra194-p3668-0000-p3509-0000.dtb.sig
-rw-r--r-- 1 root root 326736 Aug 2 01:19 tegra194-p3668-0001-p3509-0000.dtb
-rw-r--r-- 1 root root 4096 Aug 2 01:19 tegra194-p3668-0001-p3509-0000.dtb.sig
-rw-r--r-- 1 root root 1083 Aug 2 01:19 tegra194-p3668-all-p3509-0000-adafruit-sph0645lm4h.dtbo
-rw-r--r-- 1 root root 1079 Aug 2 01:19 tegra194-p3668-all-p3509-0000-adafruit-uda1334a.dtbo
-rw-r--r-- 1 root root 2815 Aug 2 01:19 tegra194-p3668-all-p3509-0000-camera-imx219-dual.dtbo
-rw-r--r-- 1 root root 3071 Aug 2 01:19 tegra194-p3668-all-p3509-0000-camera-imx477-dual.dtbo
-rw-r--r-- 1 root root 2994 Aug 2 01:19 tegra194-p3668-all-p3509-0000-camera-imx477-imx219.dtbo
-rw-r--r-- 1 root root 326784 Aug 2 01:19 tegra194-p3668-all-p3509-0000.dtb
-rw-r--r-- 1 root root 4096 Aug 2 01:19 tegra194-p3668-all-p3509-0000.dtb.sig
-rw-r--r-- 1 root root 3983 Aug 2 01:19 tegra194-p3668-all-p3509-0000-fe-pi-audio.dtbo
-rw-r--r-- 1 root root 5605 Aug 2 01:19 tegra194-p3668-all-p3509-0000-hdr40.dtbo
-rw-r--r-- 1 root root 2109 Aug 2 01:19 tegra194-p3668-all-p3509-0000-m2ke.dtbo
-rw-r--r-- 1 root root 3179 Aug 2 01:19 tegra194-p3668-all-p3509-0000-respeaker-4-mic-array.dtbo
-rw-r--r-- 1 root root 3215 Aug 2 01:19 tegra194-p3668-all-p3509-0000-respeaker-4-mic-lin-array.dtbo
-rw-r--r-- 1 root root 2167 Aug 2 01:19 tegra194-p3668-p3509-overlay.dtbo
-rw-r--r-- 1 root root 344746 Aug 2 01:19 tegra234-p3701-0000-as-p3767-0000-p3737-0000.dtb
-rw-r--r-- 1 root root 344750 Aug 2 01:19 tegra234-p3701-0000-as-p3767-0001-p3737-0000.dtb
-rw-r--r-- 1 root root 344766 Aug 2 01:19 tegra234-p3701-0000-as-p3767-0003-p3737-0000.dtb
-rw-r--r-- 1 root root 344766 Aug 2 01:19 tegra234-p3701-0000-as-p3767-0004-p3737-0000.dtb
-rw-r--r-- 1 root root 439809 Aug 2 01:19 tegra234-p3701-0000-p3737-0000.dtb
-rw-r--r-- 1 root root 439885 Aug 2 01:19 tegra234-p3701-0000-p3737-0000-kexec.dtb
-rw-r--r-- 1 root root 251091 Aug 2 01:19 tegra234-p3701-0002-p3711-0000.dtb
-rw-r--r-- 1 root root 293125 Aug 2 01:19 tegra234-p3701-0002-p3740-0002-b01.dtb
-rw-r--r-- 1 root root 293137 Aug 2 01:19 tegra234-p3701-0002-p3740-0002.dtb
-rw-r--r-- 1 root root 439809 Aug 2 01:19 tegra234-p3701-0004-p3737-0000.dtb
-rw-r--r-- 1 root root 439809 Aug 2 01:19 tegra234-p3701-0005-p3737-0000.dtb
-rw-r--r-- 1 root root 439805 Aug 2 01:19 tegra234-p3701-0008-p3737-0000.dtb
-rw-r--r-- 1 root root 301664 Aug 2 01:19 tegra234-p3701-0008-p3740-0002-c01.dtb
-rw-r--r-- 1 root root 830 Aug 2 01:19 tegra234-p3701-overlay.dtbo
-rw-r--r-- 1 root root 1143 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-adafruit-sph0645lm4h.dtbo
-rw-r--r-- 1 root root 1139 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-adafruit-uda1334a.dtbo
-rw-r--r-- 1 root root 2045 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-csi.dtbo
-rw-r--r-- 1 root root 4043 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-fe-pi-audio.dtbo
-rw-r--r-- 1 root root 3962 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-hdr40.dtbo
-rw-r--r-- 1 root root 1533 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-m2ke.dtbo
-rw-r--r-- 1 root root 3239 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-respeaker-4-mic-array.dtbo
-rw-r--r-- 1 root root 3275 Aug 2 01:19 tegra234-p3737-0000-p3701-0000-respeaker-4-mic-lin-array.dtbo
-rw-r--r-- 1 root root 4374 Aug 2 01:19 tegra234-p3737-audio-codec-rt5658-40pin.dtbo
-rw-r--r-- 1 root root 10566 Aug 2 01:19 tegra234-p3737-camera-dual-hawk-ar0234-e3653-overlay.dtbo
-rw-r--r-- 1 root root 12999 Aug 2 01:19 tegra234-p3737-camera-dual-imx274-overlay.dtbo
-rw-r--r-- 1 root root 4219 Aug 2 01:19 tegra234-p3737-camera-e3331-overlay.dtbo
-rw-r--r-- 1 root root 18647 Aug 2 01:19 tegra234-p3737-camera-e3333-overlay.dtbo
-rw-r--r-- 1 root root 27350 Aug 2 01:19 tegra234-p3737-camera-hawk-owl-overlay.dtbo
-rw-r--r-- 1 root root 8198 Aug 2 01:19 tegra234-p3737-camera-imx185-overlay.dtbo
-rw-r--r-- 1 root root 7138 Aug 2 01:19 tegra234-p3737-camera-imx390-overlay.dtbo
-rw-r--r-- 1 root root 3418 Aug 2 01:19 tegra234-p3737-overlay.dtbo
-rw-r--r-- 1 root root 26294 Aug 2 01:19 tegra234-p3740-camera-hawk-owl-overlay.dtbo
-rw-r--r-- 1 root root 3300 Aug 2 01:19 tegra234-p3740-camera-p3785-overlay.dtbo
-rw-r--r-- 1 root root 1319 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-adafruit-sph0645lm4h.dtbo
-rw-r--r-- 1 root root 1315 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-adafruit-uda1334a.dtbo
-rw-r--r-- 1 root root 812 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-csi.dtbo
-rw-r--r-- 1 root root 4219 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-fe-pi-audio.dtbo
-rw-r--r-- 1 root root 4145 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-hdr40.dtbo
-rw-r--r-- 1 root root 1709 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-m2ke.dtbo
-rw-r--r-- 1 root root 3415 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-respeaker-4-mic-array.dtbo
-rw-r--r-- 1 root root 3451 Aug 2 01:19 tegra234-p3767-0000-p3509-a02-respeaker-4-mic-lin-array.dtbo
-rw-r--r-- 1 root root 812 Aug 2 01:19 tegra234-p3767-0000-p3768-0000-csi.dtbo
-rw-r--r-- 1 root root 2847 Aug 2 01:19 tegra234-p3767-camera-imx219-dual.dtbo
-rw-r--r-- 1 root root 3103 Aug 2 01:19 tegra234-p3767-camera-imx477-dual.dtbo
-rw-r--r-- 1 root root 3026 Aug 2 01:19 tegra234-p3767-camera-imx477-imx219.dtbo
-rw-r--r-- 1 root root 2847 Aug 2 01:19 tegra234-p3767-camera-p3768-imx219-dual.dtbo
-rw-r--r-- 1 root root 3468 Aug 2 01:19 tegra234-p3767-camera-p3768-imx477-dual-4lane.dtbo
-rw-r--r-- 1 root root 3103 Aug 2 01:19 tegra234-p3767-camera-p3768-imx477-dual.dtbo
-rw-r--r-- 1 root root 3026 Aug 2 01:19 tegra234-p3767-camera-p3768-imx477-imx219.dtbo
-rw-r--r-- 1 root root 1328 Aug 2 01:19 tegra234-p3767-overlay.dtbo
-rw-r--r-- 1 root root 910 Aug 2 01:19 tegra234-p3768-overlay.dtbo
You should request the porting guide of INMP441 from your vendor.
And you could decompile the /boot/kernel_tegra234-p3767-0003-p3768-0000-a0-user-custom.dtb to modify the device tree.