mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
t23x: prometheus: Add overlays for Hope DevKit
Following device-tree overlays for Orin Hope Developer Kit are added: 1. M.2 Key E header 2. M.2 Key B header 2. Jetson 20-pin GPIO header And header defining the compatible string is also added Bug 3966930 Change-Id: I40012c496316f93eff5789fd441f42c96b1d35f0 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2953681 Reviewed-by: Asha Talambedu <atalambedu@nvidia.com> Reviewed-by: Sheetal . <sheetal@nvidia.com> Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Tested-by: Asha Talambedu <atalambedu@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6d442ea3b4
commit
41d6987300
@@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Definitions for Jetson tegra234-p3740-0002-p3701-0008 board.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/gpio/tegra234-gpio.h>
|
||||||
|
|
||||||
|
#define JETSON_COMPATIBLE "nvidia,p3740-0002+p3701-0008"
|
||||||
@@ -35,6 +35,9 @@ dtbo-y += tegra234-p3767-0000+p3509-a02-csi.dtbo
|
|||||||
dtbo-y += tegra234-p3767-0000+p3509-a02-hdr40.dtbo
|
dtbo-y += tegra234-p3767-0000+p3509-a02-hdr40.dtbo
|
||||||
dtbo-y += tegra234-p3767-0000+p3509-a02-m2ke.dtbo
|
dtbo-y += tegra234-p3767-0000+p3509-a02-m2ke.dtbo
|
||||||
dtbo-y += tegra234-p3767-0000+p3768-0000-csi.dtbo
|
dtbo-y += tegra234-p3767-0000+p3768-0000-csi.dtbo
|
||||||
|
dtbo-y += tegra234-p3740-0002+p3701-0008-hdr20.dtbo
|
||||||
|
dtbo-y += tegra234-p3740-0002+p3701-0008-m2ke.dtbo
|
||||||
|
dtbo-y += tegra234-p3740-0002+p3701-0008-m2kb.dtbo
|
||||||
|
|
||||||
ifneq ($(dtb-y),)
|
ifneq ($(dtb-y),)
|
||||||
dtb-y := $(addprefix $(makefile-path)/,$(dtb-y))
|
dtb-y := $(addprefix $(makefile-path)/,$(dtb-y))
|
||||||
|
|||||||
56
overlay/tegra234-p3740-0002+p3701-0008-hdr20.dts
Normal file
56
overlay/tegra234-p3740-0002+p3701-0008-hdr20.dts
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
// Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
|
//Device-tree overlay for tegra234-p3740-0002-p3701-0008 20 pin header.
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
||||||
|
#include <dt-bindings/tegra234-p3740-0002-p3701-0008.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
overlay-name = "Jetson 20pin Header";
|
||||||
|
compatible = JETSON_COMPATIBLE;
|
||||||
|
|
||||||
|
fragment@0 {
|
||||||
|
target = <&pinmux>;
|
||||||
|
__overlay__ {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&jetson_io_pinmux>;
|
||||||
|
jetson_io_pinmux: exp-header-pinmux {
|
||||||
|
hdr20-pin8 {
|
||||||
|
nvidia,pins = "gen1_i2c_scl_pi3";
|
||||||
|
};
|
||||||
|
hdr20-pin10 {
|
||||||
|
nvidia,pins = "gen1_i2c_sda_pi4";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
fragment@1 {
|
||||||
|
target = <&pinmux_aon>;
|
||||||
|
__overlay__ {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&jetson_io_pinmux_aon>;
|
||||||
|
jetson_io_pinmux_aon: exp-header-pinmux {
|
||||||
|
hdr20-pin4 {
|
||||||
|
nvidia,pins = "can1_stb_pbb0";
|
||||||
|
nvidia,function = "dmic3";
|
||||||
|
nvidia,pin-label = "dmic3_clk";
|
||||||
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
||||||
|
};
|
||||||
|
hdr20-pin6 {
|
||||||
|
nvidia,pins = "can1_en_pbb1";
|
||||||
|
nvidia,function = "dmic3";
|
||||||
|
nvidia,pin-label = "dmic3_dat";
|
||||||
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
||||||
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
69
overlay/tegra234-p3740-0002+p3701-0008-m2kb.dts
Normal file
69
overlay/tegra234-p3740-0002+p3701-0008-m2kb.dts
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
// Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
|
//Device-tree overlay for tegra234-p3740-0002-p3701-0008 M.2 Key B Slot.
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
||||||
|
#include <dt-bindings/tegra234-p3740-0002-p3701-0008.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
overlay-name = "Jetson M.2 Key B Slot";
|
||||||
|
compatible = JETSON_COMPATIBLE;
|
||||||
|
|
||||||
|
fragment@0 {
|
||||||
|
target = <&pinmux>;
|
||||||
|
__overlay__ {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&jetson_io_pinmux>;
|
||||||
|
jetson_io_pinmux: exp-header-pinmux {
|
||||||
|
m2kb-pin20 {
|
||||||
|
nvidia,pins = "soc_gpio41_ph7";
|
||||||
|
nvidia,function = "i2s2";
|
||||||
|
nvidia,pin-label = "i2s2_sclk";
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
m2kb-pin22 {
|
||||||
|
nvidia,pins = "soc_gpio42_pi0";
|
||||||
|
nvidia,function = "i2s2";
|
||||||
|
nvidia,pin-label = "i2s2_dout";
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
||||||
|
};
|
||||||
|
m2kb-pin24 {
|
||||||
|
nvidia,pins = "soc_gpio43_pi1";
|
||||||
|
nvidia,function = "i2s2";
|
||||||
|
nvidia,pin-label = "i2s2_din";
|
||||||
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
m2kb-pin28 {
|
||||||
|
nvidia,pins = "soc_gpio44_pi2";
|
||||||
|
nvidia,function = "i2s2";
|
||||||
|
nvidia,pin-label = "i2s2_fs";
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fragment@1 {
|
||||||
|
target = <&pinmux_aon>;
|
||||||
|
__overlay__ {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&jetson_io_pinmux_aon>;
|
||||||
|
jetson_io_pinmux_aon: exp-header-pinmux {
|
||||||
|
m2kb-pin40 {
|
||||||
|
nvidia,pins = "gen2_i2c_sda_pdd0";
|
||||||
|
};
|
||||||
|
m2kb-pin42 {
|
||||||
|
nvidia,pins = "gen2_i2c_scl_pcc7";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
71
overlay/tegra234-p3740-0002+p3701-0008-m2ke.dts
Normal file
71
overlay/tegra234-p3740-0002+p3701-0008-m2ke.dts
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
// Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
|
//Device-tree overlay for tegra234-p3740-0002-p3701-0008 M.2 Key E Slot.
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
||||||
|
#include <dt-bindings/tegra234-p3740-0002-p3701-0008.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
overlay-name = "Jetson M.2 Key E Slot";
|
||||||
|
compatible = JETSON_COMPATIBLE;
|
||||||
|
|
||||||
|
p3740-0000_p3701-0000-m2ke@0 {
|
||||||
|
target = <&pinmux>;
|
||||||
|
__overlay__ {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&jetson_io_pinmux>;
|
||||||
|
jetson_io_pinmux: exp-header-pinmux {
|
||||||
|
m2ke-pin8 {
|
||||||
|
nvidia,pins = "soc_gpio45_pad0";
|
||||||
|
nvidia,function = "i2s1";
|
||||||
|
nvidia,pin-label = "i2s1_sclk";
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
m2ke-pin10 {
|
||||||
|
nvidia,pins = "soc_gpio48_pad3";
|
||||||
|
nvidia,function = "i2s1";
|
||||||
|
nvidia,pin-label = "i2s1_fs";
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
m2ke-pin12 {
|
||||||
|
nvidia,pins = "soc_gpio47_pad2";
|
||||||
|
nvidia,function = "i2s1";
|
||||||
|
nvidia,pin-label = "i2s1_din";
|
||||||
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
m2ke-pin14 {
|
||||||
|
nvidia,pins = "soc_gpio46_pad1";
|
||||||
|
nvidia,function = "i2s1";
|
||||||
|
nvidia,pin-label = "i2s1_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 = "dp_aux_ch2_n_pn6";
|
||||||
|
};
|
||||||
|
m2ke-pin60 {
|
||||||
|
nvidia,pins = "dp_aux_ch2_p_pn5";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user