mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
t23x: p3768: Add Orin NX and Nano overlays
Following device-tree overlays for Orin NX Module + Xavier NX Carrier, Orin NX/Nano DevKit Board are added: 1. ADAFRUIT SPH0645LM4H (I2S MEMS Microphone) 2. FE-PI Audio (SGTL5000 Audio Codec) 3. Adafruit UDA1334A (I2S Stereo DAC) 4. Respeaker 4 Mic Array Card 5. M.2 Key E header 6. Camera Header - Added missing hdr40-pin7 node in hdr40 common dtsi. - Added hdr40_vdd_3v3 symbol used by overlay files. - Unified 40 pin header dts for Orin NX across different Carrier boards Apart from header overlays, remaining overlays may be applied using either Jetson-IO tool, or directly on the platform base DTB file as below: $ fdtoverlay -i <base-dtb> -o <out-dtb> <overlay-dtbo> Bug 3866629 Change-Id: I8808fc0317e4c173c44480447ac511ae32ce5480 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/p3768-dts/+/2897867 Reviewed-by: Asha Talambedu <atalambedu@nvidia.com> Reviewed-by: Anubhav Rai <arai@nvidia.com> Reviewed-by: Sheetal . <sheetal@nvidia.com> Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> Reviewed-by: Sharad Gupta <sharadg@nvidia.com> Tested-by: Asha Talambedu <atalambedu@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
b7310ef8bb
commit
9374dde502
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
/*
|
||||
* Device-tree overlay for Adafruit I2S MEMS Microphone Breakout
|
||||
* (SPH0645LM4H) with board tegra234-p3767-0000 based platforms.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
#include <overlays/jetson-adafruit-sph0645lm4h.dts>
|
||||
23
overlay/tegra234-p3767-0000+p3509-a02-adafruit-uda1334a.dts
Normal file
23
overlay/tegra234-p3767-0000+p3509-a02-adafruit-uda1334a.dts
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Device-tree overlay for Adafruit I2S Stereo Decoder Breakout with board
|
||||
* tegra234-p3767-0000 based platforms.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
#include <overlays/jetson-adafruit-uda1334a.dts>
|
||||
42
overlay/tegra234-p3767-0000+p3509-a02-csi.dts
Normal file
42
overlay/tegra234-p3767-0000+p3509-a02-csi.dts
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
/*
|
||||
* Device-tree overlay for tegra234-p3767-0000-p3509-a02 CSI Camera Connector.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
|
||||
/ {
|
||||
overlay-name = "Jetson Nano CSI Connector";
|
||||
compatible = JETSON_COMPATIBLE_P3509;
|
||||
|
||||
fragment@0 {
|
||||
target = <&pinmux>;
|
||||
__overlay__ {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&jetson_io_pinmux>;
|
||||
jetson_io_pinmux: exp-header-pinmux {
|
||||
csi-pin25 {
|
||||
nvidia,pins = "cam_i2c_scl_pp2";
|
||||
};
|
||||
csi-pin27 {
|
||||
nvidia,pins = "cam_i2c_sda_pp3";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
22
overlay/tegra234-p3767-0000+p3509-a02-fe-pi-audio.dts
Normal file
22
overlay/tegra234-p3767-0000+p3509-a02-fe-pi-audio.dts
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
/*
|
||||
* Device-tree overlay for FE-PI Audio V1 and Z V2 with board
|
||||
* tegra234-p3767-0000 based platforms.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
#include <overlays/jetson-fe-pi-audio.dts>
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -21,4 +21,10 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
#include "tegra234-p3767-0000-common-hdr40.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = JETSON_COMPATIBLE;
|
||||
};
|
||||
|
||||
|
||||
83
overlay/tegra234-p3767-0000+p3509-a02-m2ke.dts
Normal file
83
overlay/tegra234-p3767-0000+p3509-a02-m2ke.dts
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Device-tree overlay for tegra234-p3767-0000-p3509-a02 M.2 Key E Slot.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
|
||||
/ {
|
||||
overlay-name = "Jetson M.2 Key E Slot";
|
||||
compatible = JETSON_COMPATIBLE;
|
||||
|
||||
fragment@0 {
|
||||
target = <&pinmux>;
|
||||
__overlay__ {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&jetson_io_pinmux>;
|
||||
jetson_io_pinmux: exp-header-pinmux {
|
||||
m2ke-pin8 {
|
||||
nvidia,pins = "dap4_sclk_pa4";
|
||||
nvidia,function = "i2s4";
|
||||
nvidia,pin-label = "i2s4_sclk";
|
||||
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||
};
|
||||
m2ke-pin10 {
|
||||
nvidia,pins = "dap4_fs_pa7";
|
||||
nvidia,function = "i2s4";
|
||||
nvidia,pin-label = "i2s4_fs";
|
||||
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||
};
|
||||
m2ke-pin12 {
|
||||
nvidia,pins = "dap4_din_pa6";
|
||||
nvidia,function = "i2s4";
|
||||
nvidia,pin-label = "i2s4_din";
|
||||
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
||||
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||
};
|
||||
m2ke-pin14 {
|
||||
nvidia,pins = "dap4_dout_pa5";
|
||||
nvidia,function = "i2s4";
|
||||
nvidia,pin-label = "i2s4_dout";
|
||||
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
||||
};
|
||||
m2ke-pin22 {
|
||||
nvidia,pins = "uart2_rx_px5";
|
||||
};
|
||||
m2ke-pin32 {
|
||||
nvidia,pins = "uart2_tx_px4";
|
||||
};
|
||||
m2ke-pin34 {
|
||||
nvidia,pins = "uart2_cts_px7";
|
||||
};
|
||||
m2ke-pin36 {
|
||||
nvidia,pins = "uart2_rts_px6";
|
||||
};
|
||||
m2ke-pin58 {
|
||||
nvidia,pins = "gen1_i2c_sda_pi4";
|
||||
};
|
||||
m2ke-pin60 {
|
||||
nvidia,pins = "gen1_i2c_scl_pi3";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Device-tree overlay for ReSpeaker 4-Mic Array with board
|
||||
* tegra234-p3767-0000 based platforms.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
#include <overlays/jetson-respeaker-4-mic-array.dts>
|
||||
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Device-tree overlay for ReSpeaker 4-Mic Array with board
|
||||
* tegra234-p3767-0000 based platforms.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
#include <overlays/jetson-respeaker-4-mic-lin-array.dts>
|
||||
46
overlay/tegra234-p3767-0000+p3768-0000-csi.dts
Normal file
46
overlay/tegra234-p3767-0000+p3768-0000-csi.dts
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Device-tree overlay for tegra234-p3767-0000-p3768-0000 CSI Camera Connector.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
||||
#include <dt-common/jetson/tegra234-p3767-0000-common.h>
|
||||
|
||||
/ {
|
||||
overlay-name = "Jetson 24pin CSI Connector";
|
||||
compatible = JETSON_COMPATIBLE_P3768;
|
||||
|
||||
fragment@0 {
|
||||
target = <&pinmux>;
|
||||
__overlay__ {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&jetson_io_pinmux>;
|
||||
jetson_io_pinmux: exp-header-pinmux {
|
||||
csi-pin2 {
|
||||
nvidia,pins = "cam_i2c_sda_pp3";
|
||||
};
|
||||
csi-pin3 {
|
||||
nvidia,pins = "cam_i2c_scl_pp2";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
/ {
|
||||
overlay-name = "Jetson 40pin Header";
|
||||
compatible = "nvidia,p3509-0000-a2+p3767-0000";
|
||||
|
||||
fragment@0 {
|
||||
target = <&pinmux>;
|
||||
@@ -27,13 +26,20 @@
|
||||
pinctrl-0 = <&jetson_io_pinmux>;
|
||||
jetson_io_pinmux: exp-header-pinmux {
|
||||
hdr40-pin3 {
|
||||
nvidia,pins = "gen8_i2c_scl_pdd1";
|
||||
nvidia,pins = "gen8_i2c_sda_pdd2";
|
||||
nvidia,pin-label = "i2c8";
|
||||
};
|
||||
hdr40-pin5 {
|
||||
nvidia,pins = "gen8_i2c_sda_pdd2";
|
||||
nvidia,pins = "gen8_i2c_scl_pdd1";
|
||||
nvidia,pin-label = "i2c8";
|
||||
};
|
||||
hdr40-pin7 {
|
||||
nvidia,pins = "soc_gpio59_pac6";
|
||||
nvidia,function = "aud";
|
||||
nvidia,pin-label = "aud_mclk";
|
||||
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
||||
};
|
||||
hdr40-pin8 {
|
||||
nvidia,pins = "uart1_tx_pr2";
|
||||
};
|
||||
@@ -69,16 +75,16 @@
|
||||
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
||||
};
|
||||
hdr40-pin16 {
|
||||
nvidia,pins = "spi3_cs0_py3";
|
||||
nvidia,pins = "spi3_cs1_py4";
|
||||
nvidia,function = "spi3";
|
||||
nvidia,pin-label = "spi3_cs0";
|
||||
nvidia,pin-label = "spi3_cs1";
|
||||
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||
};
|
||||
hdr40-pin18 {
|
||||
nvidia,pins = "spi3_cs0_py4";
|
||||
nvidia,pins = "spi3_cs0_py3";
|
||||
nvidia,function = "spi3";
|
||||
nvidia,pin-label = "spi3_cs1";
|
||||
nvidia,pin-label = "spi3_cs0";
|
||||
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user