Compare commits

...

8 Commits

Author SHA1 Message Date
Gautham Srinivasan
85ce314b25 t23x: overlay: add jetson-io support for ONX super
Add compatible strings to support Orin NX/Nano super
configuration in jetson-io tool.

Bug 4131473

Change-Id: Ia49e1cd5195203bd456dd3b21dd2173f1d44a6bf
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3273805
Reviewed-by: Sheetal . <sheetal@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Johnny Liu <johnliu@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Johnny Liu <johnliu@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-12-25 10:18:53 -08:00
Yi-Wei Wang
c0a3b8c74e t23x: dts: Update the model string of p3767 super
Append a "Super" in the model string of p3767 super configurations.

Bug 4997111
Bug 4285189
Bug 3733987
Bug 3734903
Bug 3559424
Bug 3290570

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: If9e4c8e4934e5e6bd855dbfd4293a21a73b2d51a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3268360
(cherry picked from commit 9c95c70255)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3272054
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
2024-12-20 11:53:20 -08:00
Hiteshkumar Patel
96406955e1 t23x: nv-public: Disable IMX219 auto-detection
Disable IMX219 auto-detection. It was introducing boot error as
"imx219_board_setup: error during i2c read probe (-121)" when
IMX219 sensor is not connected.

Bug 4911127

Change-Id: I43349fb3ca40067df3e4f8132c2058a794c8fbf9
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3239680
(cherry picked from commit 924686a94f)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3262772
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
2024-12-17 15:54:26 -08:00
Ninad Malwade
cf027c2d7c t234: nv-platform: p3768: delete the suspend key
As per the Orin Nano Dev Kit schematic, GPIO_G.02 is not available
on this device family. It should not be used at all on Orin NX/Nano.

Orin NX/Nano uses GPIO_EE.04 as both a "power" button and a "suspend"
button.  However, we cannot have two gpio-keys mapped to the same
GPIO. Therefore delete the "suspend" key.

Bug 4868022

Change-Id: Ib027748800e271ecf95bf644a803289d69abda2c
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216660
(cherry picked from commit 96abd28af57018fa1d45cf08c844efa72152dd63)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3262764
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
2024-12-17 12:04:57 -08:00
Yi-Wei Wang
a0da5fff0e t23x: dts: Support Orin NX 16GB super platform
Add support for Orin NX 16GB super platform.

Bug 4997111
Bug 4285189
Bug 3290570

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I8501d21b2117a332da5407d0826b0bd4a0e61aad
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3263839
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2024-12-07 20:17:51 -08:00
Yi-Wei Wang
2c1d81837f t23x: dts: Support Orin NX 8GB super platform
Add support for Orin NX 8GB super platform.

Bug 4997111
Bug 4285189
Bug 3559424

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I5cd84616f4b56927157a03d2da6a571129fb5a14
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3263838
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2024-12-07 20:17:45 -08:00
Yi-Wei Wang
727cc9ea4b t23x: dts: Support Orin Nano 8GB super platform
Add support for Orin Nano 8GB super platform.

Bug 4997111
Bug 4285189
Bug 3733987

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I5123724fce638267a577c06e61d6a6fe6d51aa5c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3263837
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2024-12-07 20:17:39 -08:00
Yi-Wei Wang
9c2c650d97 t23x: dts: Support Orin Nano 4GB super platform
Add support for Orin Nano 4GB super platform.

Bug 4997111
Bug 4285189
Bug 3734903

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I17635d0a27fd43cfe8b3084f7f59b0d6abbadbd5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3263836
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2024-12-07 20:17:34 -08:00
10 changed files with 81 additions and 59 deletions

View File

@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /* SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* *
* Definitions for Jetson tegra234-p3767-0000 board. * Definitions for Jetson tegra234-p3767-0000 board.
*/ */
@@ -11,7 +10,12 @@
"nvidia,p3768-0000+p3767-0001", \ "nvidia,p3768-0000+p3767-0001", \
"nvidia,p3768-0000+p3767-0003", \ "nvidia,p3768-0000+p3767-0003", \
"nvidia,p3768-0000+p3767-0004", \ "nvidia,p3768-0000+p3767-0004", \
"nvidia,p3768-0000+p3767-0005" "nvidia,p3768-0000+p3767-0005", \
"nvidia,p3768-0000+p3767-0000-super", \
"nvidia,p3768-0000+p3767-0001-super", \
"nvidia,p3768-0000+p3767-0003-super", \
"nvidia,p3768-0000+p3767-0004-super", \
"nvidia,p3768-0000+p3767-0005-super"
#define JETSON_COMPATIBLE_P3509 "nvidia,p3509-0000+p3767-0000", \ #define JETSON_COMPATIBLE_P3509 "nvidia,p3509-0000+p3767-0000", \
"nvidia,p3509-0000+p3767-0001", \ "nvidia,p3509-0000+p3767-0001", \

View File

@@ -17,12 +17,17 @@ dtb-y += tegra234-p3740-0002+p3701-0008-nv.dtb
dtb-y += tegra234-p3740-0002+p3701-0008-nv-safety.dtb dtb-y += tegra234-p3740-0002+p3701-0008-nv-safety.dtb
dtb-y += tegra234-p3768-0000+p3767-0000-nv.dtb dtb-y += tegra234-p3768-0000+p3767-0000-nv.dtb
dtb-y += tegra234-p3768-0000+p3767-0000-nv-px1.dtb dtb-y += tegra234-p3768-0000+p3767-0000-nv-px1.dtb
dtb-y += tegra234-p3768-0000+p3767-0000-nv-super.dtb
dtb-y += tegra234-p3768-0000+p3767-0000-nv-taylor-high.dtb dtb-y += tegra234-p3768-0000+p3767-0000-nv-taylor-high.dtb
dtb-y += tegra234-p3768-0000+p3767-0000-nv-taylor-low.dtb dtb-y += tegra234-p3768-0000+p3767-0000-nv-taylor-low.dtb
dtb-y += tegra234-p3768-0000+p3767-0001-nv.dtb dtb-y += tegra234-p3768-0000+p3767-0001-nv.dtb
dtb-y += tegra234-p3768-0000+p3767-0001-nv-super.dtb
dtb-y += tegra234-p3768-0000+p3767-0003-nv.dtb dtb-y += tegra234-p3768-0000+p3767-0003-nv.dtb
dtb-y += tegra234-p3768-0000+p3767-0003-nv-super.dtb
dtb-y += tegra234-p3768-0000+p3767-0004-nv.dtb dtb-y += tegra234-p3768-0000+p3767-0004-nv.dtb
dtb-y += tegra234-p3768-0000+p3767-0004-nv-super.dtb
dtb-y += tegra234-p3768-0000+p3767-0005-nv.dtb dtb-y += tegra234-p3768-0000+p3767-0005-nv.dtb
dtb-y += tegra234-p3768-0000+p3767-0005-nv-super.dtb
ifneq ($(dtb-y),) ifneq ($(dtb-y),)
dtb-y := $(addprefix $(makefile-path)/,$(dtb-y)) dtb-y := $(addprefix $(makefile-path)/,$(dtb-y))

View File

@@ -0,0 +1,11 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/;
#include "tegra234-p3768-0000+p3767-0000-nv.dts"
/ {
compatible = "nvidia,p3768-0000+p3767-0000-super", "nvidia,p3767-0000", "nvidia,tegra234";
model = "NVIDIA Jetson Orin NX Engineering Reference Developer Kit Super";
};

View File

@@ -0,0 +1,11 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/;
#include "tegra234-p3768-0000+p3767-0001-nv.dts"
/ {
compatible = "nvidia,p3768-0000+p3767-0001-super", "nvidia,p3767-0001", "nvidia,tegra234";
model = "NVIDIA Jetson Orin NX Engineering Reference Developer Kit Super";
};

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/;
#include "tegra234-p3768-0000+p3767-0003-nv.dts"
/ {
compatible = "nvidia,p3768-0000+p3767-0003-super", "nvidia,p3767-0003", "nvidia,tegra234";
model = "NVIDIA Jetson Orin Nano Engineering Reference Developer Kit Super";
};
/delete-node/ &{/opp-table-cluster0/opp-1510400000};
/delete-node/ &{/opp-table-cluster1/opp-1510400000};
/delete-node/ &{/opp-table-cluster2/opp-1510400000};

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/;
#include "tegra234-p3768-0000+p3767-0004-nv.dts"
/ {
compatible = "nvidia,p3768-0000+p3767-0004-super", "nvidia,p3767-0004", "nvidia,tegra234";
model = "NVIDIA Jetson Orin Nano Engineering Reference Developer Kit Super";
};
/delete-node/ &{/opp-table-cluster0/opp-1510400000};
/delete-node/ &{/opp-table-cluster1/opp-1510400000};
/delete-node/ &{/opp-table-cluster2/opp-1510400000};

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/;
#include "tegra234-p3768-0000+p3767-0005-nv.dts"
/ {
compatible = "nvidia,p3768-0000+p3767-0005-super", "nvidia,p3767-0005", "nvidia,tegra234";
model = "NVIDIA Jetson Orin Nano Engineering Reference Developer Kit Super";
};
/delete-node/ &{/opp-table-cluster0/opp-1510400000};
/delete-node/ &{/opp-table-cluster1/opp-1510400000};
/delete-node/ &{/opp-table-cluster2/opp-1510400000};

View File

@@ -429,3 +429,5 @@
status = "okay"; status = "okay";
}; };
}; };
/delete-node/ &{/gpio-keys/key-suspend};

View File

@@ -4,8 +4,6 @@
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
#include "tegra234-p3768-camera-rbpcv2-imx219.dtsi"
/ { / {
overlay-name = "Tegra234 p3768-0000+p3767-xxxx Dynamic Overlay"; overlay-name = "Tegra234 p3768-0000+p3767-xxxx Dynamic Overlay";
}; };

View File

@@ -1,54 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#define CAM0_RST TEGRA234_MAIN_GPIO(H, 3)
#define CAM0_PWDN TEGRA234_MAIN_GPIO(H, 6)
#define CAM1_PWDN TEGRA234_MAIN_GPIO(AC, 0)
#define CAM_I2C_MUX TEGRA234_AON_GPIO(CC, 3)
#include <dt-bindings/tegra234-p3767-0000-common.h>
#include "tegra234-camera-rbpcv2-imx219.dtsi"
/ {
fragment-camera-imx219@0 {
target-path = "/";
__overlay__ {
bus@0 {
cam_i2cmux{
status = "okay";
compatible = "i2c-mux-gpio";
#address-cells = <1>;
#size-cells = <0>;
i2c-parent = <&cam_i2c>;
mux-gpios = <&gpio_aon CAM_I2C_MUX GPIO_ACTIVE_HIGH>;
i2c@0 {
status = "okay";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
rbpcv2_imx219_a@10 {
reset-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
};
};
i2c@1 {
status = "okay";
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
rbpcv2_imx219_c@10 {
reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
};
};
};
gpio@2200000 {
camera-control-output-low {
gpio-hog;
output-low;
gpios = <CAM0_RST 0>;
label = "cam0-rst";
};
};
};
};
};
};