Commit Graph

421 Commits

Author SHA1 Message Date
Yi-Wei Wang
efe6abb8fa t23x: overlay: support p3701-0000-as-p3767-0000
Add tegra234-p3737-0000+p3701-0000-as-p3767-0000.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0000.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6a96ec751996724a8bccad0fa1ede582b682a31e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000376
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-20 03:11:06 -07:00
Yi-Wei Wang
85d6d86a2c t23x: overlay: support p3701-0000-as-p3701-0004
Add tegra234-p3737-0000+p3701-0000-as-p3701-0004.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3701-0004.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I68201cacdec750ff3aed3ecb161ef8063b3749df
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978923
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-20 03:10:56 -07:00
Brad Griffis
8f0cbdad83 nv-public: remove REMOVE_FRAGMENT_SYNTAX
These preprocessor conditionals were a temporary step to facilitate
step by step reviews.  Remove them and fix indentation.

Bug 4290389

Change-Id: Iecdbdf1869bec00538530d59420622d8563a116a
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000004
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-19 18:24:24 -07:00
Gautham Srinivasan
ff77a8a1cd overlay: p3767: add hdmi dcb overlay
Add DCB overlay to support HDMI

Bug 4260444

Change-Id: I11b955e11928794b7393eb9f52ba47cf81740601
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999888
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-19 16:09:50 -07:00
Brad Griffis
ee6247a701 nv-public: add new nv dtb files
In this commit:

1. The large platform overlays are being directly built into
   a new base "nv" dtb. The names of these new dtbs directly tracks the
   name of the upstream dtb that it extends. For an upstream dtb named
   <base>.dtb the new corresponding new file is named <base>-nv.dtb.

2. The source files for <base>-nv.dtb are located in the nv-soc/ and
   nv-platform/ files.  Those files originated in the overlay/
   directory but are moved to reflect that they are no longer part of
   an overlay.

This new layout seeks to simplify building and handling of dtb files
while retaining close compatibility with the upstream dts sources.

Bug 4290389

Change-Id: Ic812e8e16c5515bb3e17b99a23815a99f67c42a2
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996468
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-18 16:39:31 -07:00
Brad Griffis
a011a22ad5 overlay: remove fragment syntax with preprocessor
As part of the process to transitioning to a full featured
base dtb, we need the ability to include various files without
completely rewriting them.  This will be an incremental step.
Eventually these preprocessor commands will be removed and
the indentation fixed.

This change is not intended to change any behavior.  It is merely
adding the infrastructure for future patches.  It will be possible
for a base dts file to define REMOVE_FRAGMENT_SYNTAX and directly
include these files.

Bug 4290389

Change-Id: I778bc25dcd7e4fa96f003882e34e38fe5aaf40e7
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992336
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 16:54:28 -07:00
Brad Griffis
323d1fd8b6 overlay: move camera-related files to dynamic overlay
Cameras are optional and so they should be part of the dynamic overlay.
Keep the soc-related camera file in the static overlay.

Bug 4290389

Change-Id: I216f271d39fb9e1e1585ede14d3ca28e5d49fd6c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996299
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 16:54:23 -07:00
Brad Griffis
10775b443a overlay: refactor fragments for main overlays
Use 1 fragment with target '/'. This makes it easier to migrate code
from an overlay to a base dtb.

Bug 4290389

Change-Id: I8427d9bb1b42d9cd7923a72a3ab026b4db4b6924
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992246
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 13:24:24 -07:00
Kartik
2b8131ec80 Revert "overlay: p3701: Remove unused interrupts from timer node"
This reverts commit f29d381a73.

Bug 4173986

Change-Id: Ic0052acfb4af2641e76bd3b9bb9309f78e96cbc2
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995357
(cherry picked from commit 4db512925f50748f39f68ff80db7190e51b30785)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2998483
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 00:09:32 -07:00
Kartik
5304377476 arm64: tegra: Use correct interrupts for Tegra234 TKE
The shared interrupts 0-9 of the TKE are mapped to interrupts 0-9, but
shared interrupts 10-15 are mapped to 256-261. Correct the mapping for
the final 6 interrupts. This prevents the TKE from requesting the RTC
interrupt (along with several GTE and watchdog interrupts).

Bug 4173986

Change-Id: I5357b9c57d0d01345da54e78a8d8d4506ac8971d
Reported-by: Shubhi Garg <shgarg@nvidia.com>
Fixes: 28d860ed02c2 ("arm64: tegra: Enable native timers on Tegra234")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995358
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Kartik Rajput <kkartik@nvidia.com>
(cherry picked from commit bc36839056)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2998420
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Kartik Rajput <kkartik@nvidia.com>
2023-10-17 00:09:27 -07:00
Brad Griffis
8659e49247 overlay: add overlay-name to dynamic overlays
Fixes: "overlay: put runtime fragments in separate overlay"

Newly created overlays were created in the above patch, but the names
were omitted.  Add overlay-name to each new overlay.

Bug 4290389

Change-Id: I3f9b8f44d3dc127f840d7e823500c026318234be
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997389
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-16 14:39:19 -07:00
Sheetal
58e42d9b14 p3768: Enable APE nodes
- Enabled APE nodes.
- For Jetson IO tool:
  - Added required labels.
  - Defined regulator node.

Bug 4287075

Change-Id: I94a92fb460e00da2c59b9e537514a5d0a5b8710e
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996845
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-16 07:54:21 -07:00
Ankur Pawar
014aa0884d DT: add interconnect information for RCE
Bug 3997304

Change-Id: I5cd5e532a8a5303367068cf4276a424a5770a12e
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2912199
(cherry picked from commit fa51d49880)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997832
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-16 05:24:50 -07:00
Gautham Srinivasan
27a9472777 overlay: add missing "SPDX-FileCopyrightText" tag
svcacv is giving -1 as SPDX-FileCopyrightText tag was missing in
the license header. Fix them.

Bug 4327489

Change-Id: Ie71faf9d60550318d4722bdc0559af4cd2d3b441
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995601
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-13 02:43:40 -07:00
Brad Griffis
af4c57cd95 overlay: put runtime fragments in separate overlay
This is an incremental step toward having a "with-oot" base dtb
that contains both the upstream dtb as well as the nvidia-oot
data in a single statically built dtb.

Note that currently the base dtb is stored and managed in the
rootfs via extlinux.conf file.  The overlays however live inside
the UEFI partition.  The ultimate goal is to have consistency
in how the dtb files are managed.

After we combine the data from nvidia-oot overlay dtb into the
future "with-oot" base dtb then we can move the remaining overlays
to the rootfs and manage all dtbs/overlays there.

This patch takes the first critical step toward this goal by
separating the static overlay data from the dynamic overlay data
that gets applied conditionally at run-time.

Bug 4290389

Change-Id: I403ac84b0737368b8bc96952552729ab7e46802b
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2991524
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-11 21:56:45 -07:00
Ankur Pawar
b6654615e2 camera: orin-nx: correct the lens path
IMX219 lens node is under bus@0, give same path in
sysfs-device-tree property.

Bug 4273295

Change-Id: Ic0a37e8f5be4af89052d0d6a7bf74c654330dd49
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974784
Reviewed-by: Addarsh Srivastava <addarshs@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 21:56:35 -07:00
Brad Griffis
2fa2e4b191 overlay: p3768: enable i2c5
UEFI expects that i2c5 is enabled and will throw an assert otherwise.
In k5.10 dtb this was enabled there as well, so enabling here for
consistency and to avoid issues with UEFI.

The i2c5 controller is necessary for HDMI use case but it is ok to
have it enabled for DP use case.

Bug 4327032

Change-Id: Ib9af7c95198b7650df2537d0859ed8a5b8af1aa0
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995550
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 19:40:41 -07:00
Gautham Srinivasan
a38de0f405 overlay: p3768: PCIE alternate UPHY config
Manage PCIe (C7 and C9) controllers using odm-data field.
PCIe alternate config "gbe-uphy-config-9" uses C7x1 and
C9x1 controllers.

Bug 4052872

Change-Id: I9608b17f0a99e0fd382e3f9c6da72753626e7f2c
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2993862
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 19:40:31 -07:00
Akhil R
e9f24537f9 overlay: soc: Update Tegra SE compatible
Update Tegra SE compatible to support the new driver
instead of tegra-se-nvhost driver.

Bug 4221414
Bug 3579794

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I8534daf772b1f0a514d691ad068ea9891fc1400b
(cherry picked from commit 550cab93e5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992685
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 19:40:08 -07:00
Mark Zhang
67f121772d dts: optee: Add fTPM nodes
This patch adds several fTPM device tree nodes. These nodes are to pass
4 things from MB2 to OP-TEE:
- Silicon identity private key
- Silicon identity public key
- MB2 event log signature
- TOS event log signature

Bug 3960022

Change-Id: Id02dbcc4d92968eb93420bf327b243e5255ef16e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x/+/2915245
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978522
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Mark Zhang <markz@nvidia.com>
2023-10-09 23:54:52 -07:00
Ankur Pawar
6d346a9167 concord: use predefined macro JETSON_COMPATIBLE
SKU8 is not included in compatible string of
camera sensor overlay. This is causing issue of
sensor not detected on SKU8 board.

Use JETSON_COMPATIBLE macro which has all
SKUs.

Bug 4301117

Change-Id: I93d34a6f8ece632bf25d7cd65a037bf3351b450a
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2988039
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-08 21:24:15 -07:00
Gautham Srinivasan
3ef47891d6 overlay: enable GTE node for Orin devices
Enable GTE node for Orin (AGX, NX and Nano) devices.
This is used by BMI and NVPPS driver.

Bug 4235325

Change-Id: I162311ef75e67ce65ac00679469de0882c6d8f99
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2990757
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-06 10:39:15 -07:00
Dipen Patel
544a766157 overlay: safety: Enable I2C SW fault reporting
In the safety environment, I2C should be able to report the pre-defined
faults through EPL to FSI. This CL enables the missing DT configuration
which enables reporting.

Bug 4289946

Change-Id: Ib3db16fb822aff61c89dd03fbbcd87fc48f8aab9
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2985294
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
rel-36_eng_2023-10-04
2023-10-03 20:54:26 -07:00
Kartik
dd6e6b7b38 overlay: p3701: Override timer interrupt property
RTC interrupts are not working as timer-tegra186 driver disables
the RTC interrupt.

Override timer interrupt property and only use IRQ 0 for
interrupts.

Bug 4173986

Change-Id: I106b09b7711b4a14bbaab5354fa75919f3bd851a
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2986600
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit f29d381a73)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2989927
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-03 03:11:57 -07:00
Brad Griffis
bd791e40d2 overlay: p3768: enable ofa for all p3767 skus
All p3767 SKUs support OFA.  Enable it.

Bug 4283094

Change-Id: Ie0e90e8ba42c5786ace4c829ff534426851b2423
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2986226
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-09-27 21:54:30 -07:00
Yi-Wei Wang
b23f1c38c4 t23x: overlay: Disable c7 cpuidle for safety IGX
Only c1 (WFI) is needed for safety IGX, so disable the c7 cpuidle
status. As per upstream cpuidle-psci.c driver, the default
archictectural back-end already executes WFI on idle entry, so the idle
driver won't be initialized if only WFI is supported.

Bug 4084478

Change-Id: Id870cf22a7e5806e7f96c566c9782d6c1620e09c
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2986366
Reviewed-by: Johnny Liu <johnliu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Johnny Liu <johnliu@nvidia.com>
2023-09-27 04:23:09 -07:00
Johnny Liu
308d171850 overlay: enable cpuidle for p3767
Enable C7 cpuidle state for p3767

Bug 4283702

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: Iefb9b0c910f78a3a663253409c2e6ec034a06ac5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978878
(cherry picked from commit 73569dc99b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2979382
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-27 04:18:39 -07:00
Praveen AC
3ccdb3d2be t23x: Disable cam tsc driver by default.
Since driver is enabled by default,Causing kernel
warnings during boot time.
Since cam_cdi_tsc driver is dependent on nv_hawk_owl driver
& in turn it depends on max96712 driver.
Now, cam_cdi_tsc driver is enabled from sensor overlay dt file.

Bug 4268876

Change-Id: I90bf4e8181f131169f2979544ca54af8e4a3917a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2979516
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-25 07:17:09 -07:00
Praveen AC
1f91d5e8f5 t23x: Add Hawk & Owl support on P3762/P3783.
Made following changes:
1.Add 4xHawk & 4xOwl module support on P3762 & P3783.
2.Fix simultaneous streaming of Owl & Hawk.
3.Update EEPROM address for Hawk & Owl.
4.Add DT support for TSC gen.
5.Add virtual i2c mux node for p3762.
6.Add overlay support for P3762 & P3783.

Bug 3620984
Bug 3562348
Bug 3866131
Bug 3932004
Bug 4096788
Bug 4091221
Bug 4146784
Bug 4245526

Change-Id: I15d731249234711c706c2fb8f6a3cfc1d9fc125d
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2979458
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-25 07:17:04 -07:00
Johnny Liu
be3edd7c6a overlay: add interconnects information for vi
THI is inside Falcon, and Falcon is inside VI. Add essential
interconnects information for each individual device related to VI.

Bug 4199055

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I87a5a746371a0d712312d71be45465c2ea78beab
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977696
(cherry picked from commit aa5a375761)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2982433
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-21 10:41:26 -07:00
Dipen Patel
01fcbefa8d overlay: safety: Enable hsi error injection
The IPs with no local error collator use error injection driver to
report the errors to FSI. This change enables is by default for the
safety package (SEP).

Bug 4289946

Change-Id: Ib126905d2806fa5baebaaf8dee0614fef96103f4
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2981057
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Prasun Kumar <prasunk@nvidia.com>
2023-09-21 10:40:48 -07:00
Ankur Pawar
b07915c32b concord: configure camera sensor using jetson-io
Add camera sensor overlay for auto detection
and selection using jetson-io tool.

Sensor enabled in this gerrit:
1 E-CON AR1335
2 E3653 AR0234 Dual Hawk
3 IMX390

Multiple overlay fragments converted to one fragment for
1 E3331
2 E3333

pca945x I2C mux driver fix the bus address
for camera sensor when it reads force_bus_start
property in DT, which has value 0x1e = 30. To remove
this hard coding, delete force_bus_start, devname
properties. And use sysfs-device-tree instead of
proc-device-tree.

Bug 4191790
Bug 4097754

Change-Id: If3fd7b5ef78509f30d7609363883be58855a0445
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2957103
(cherry picked from commit 0acae56138)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2981862
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-20 09:40:45 -07:00
Santosh Galma
1762db59f1 Revert "t23x: dts: enable only few display clocks in simplefb"
This reverts commit 42a05491c8.

Reason for revert: This temporary change is no longer needed with proper fix in place

Bug 4197103
Bug 4262153
Bug 3767804

Change-Id: Ie654ae1131612026d96fca7d52e0ea086136352c
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2979788
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
2023-09-19 20:41:00 -07:00
Gautham Srinivasan
3d3748f62b overlay: p3768: Enable vrs10 power seq
Enable vrs10 power sequencer for Orin NX/Nano devices.
This is used for rtc alarm.

Bug 3801368

Change-Id: I74a54ecb2099058840b4b1e199603d0f8946d9b4
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977266
Reviewed-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-19 00:09:18 -07:00
Johnny Liu
723deb5202 p3701: overlay: Disable unconnected channels
Disable unconnected ina3221 channels so that those information are not
visible in the sysfs.

Bug 4168926

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: Ia94f3f3cc0efe20371297faeabfe374b6db63982
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2925713
(cherry picked from commit 180b6ef7a5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2979151
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-13 13:15:47 -07:00
Johnny Liu
98c4dcc03d overlay: enable cactmon, nvdec, nvenc, nvjpg
This change enables central actmon, and multimedia engines, such as
nvdec and nvenc.

Remove one redundant dts node of nvjpg.

Bug 4273157
Bug 4273121
Bug 4273117

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: Id00aaaeb6af65060a37efc91d5e5b81cc7c0f70f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974745
(cherry picked from commit b07b8ac217)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977965
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-11 10:09:59 -07:00
Ankur Pawar
17e11bcdae orin-nx: configure camera sensor using jetson-io
Add camera sensor overlay for auto detection
and selection using jetson-io tool.

Sensor enabled in this gerrit:
dual IMX219
dual IMX477
4 lane dual IMX477
IMX477+IMX219

Bug 4191790

Change-Id: I9dad8c2c731d46533854ee25b3bd092c539fb08c
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2957157
(cherry picked from commit 35cf164bfb)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974949
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-08 13:56:03 -07:00
Shubhi Garg
8d2787a534 overlay: correct VRS parent irq setting
In >=K5.15, PMIC IRQ is mapped using wake ID number instead of
IRQ number if IRQ is wake capable.

Bug 4173986

Change-Id: I1add39ee56d49603e45af6d216012e3a190fc990
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2969742
(cherry picked from commit ddc6a3414f)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974990
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-08 06:15:05 -07:00
Aniket Bahadarpurkar
c3ca171415 overlay: Reduce camdbg carveout
Halve camdbg carveout for DRAM optimization

Bug 3995285

Change-Id: Ic5ca2b3c9dfee1fe54e50073d008c0e3f893e0e6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2902774
(cherry picked from commit 4c979cbaf7)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2971528
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-09-08 05:01:02 -07:00
Santosh Reddy Galma
3d076d0290 soc: t23x: kernel-dts: fix display reserved region
- add "no-map" DT property to display reserved region DT
node to inform memory subsystem and prevent reserved
region fall into generic system pool of memory.
- add "memory-region" DT property to display DT node
with phandle to display reserved region for IOMMU to
map the region into display IOVA space.
- change display DT node alias name from "dc0" to
"display" to align the naming with Orin display
naming convention.

Bug 3601162

Change-Id: I2478765fc07c6e0808f86ad8b610e01df0679781
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2973132
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-07 11:26:08 -07:00
Ankur Pawar
7ab4f383f1 concord: configure camera sensor using jetson-io
Add camera sensor overlay for auto detection
and selection using jetson-io tool.

Sensor enabled in this gerrit:
IMX274
IMX318
E3333
IMX185

Bug 4191790

Change-Id: I6b5aba39828d5bc3ffba216edc49370781def9c8
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2902663
(cherry picked from commit 11e6f4528d)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2971627
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-06 11:26:15 -07:00
Shubhi Garg
67aec33442 t23x: overlay: enable mttcan for Orin AGX
Orin AGX has 2 mttcan controllers on 40-pin header.
Enabled controllers for >=K5.15

Bug 4228080

Change-Id: Icbe95ba3abcf151edbe65b0d4bbd3120a006757f
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2973953
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-09-05 04:12:34 -07:00
Bitan Biswas
a81f5749f1 nv-public: t23x: select concord camera sensor
Select concord specific camera sensor
tegra234-p3737-0000-camera-imx274-dual.dtsi from
concord top level DT file

bug 3586361

Change-Id: I57493c234ff880c6d262e1a2be20873b6e1ec700
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/2920667
(cherry picked from commit 25e24d0f63)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2970457
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-05 04:11:42 -07:00
Vinod Atyam
42a05491c8 t23x: dts: enable only few display clocks in simplefb
- earlier all display partition clocks were enabled
in simplefb driver to prevent Kernel CCF from disabling
clocks as it could result in display going blank
depending on which head/SOR and display clocks were
enabled by UEFI driver.
- But this unconditional enabling of clocks results in
higher refcounts for few clocks which isn't required and
this results in clocks not actually getting disabled when
display driver tries to disable them. For example, vpll0
clock doesn't get disabled due to higher refcount and
results in failure to set rate.
- So, keep only few clocks required to prevent the display
partition from getting clock gated.
- This will result in display blank just around kernel booting
to shell and need to be fixed in another set of changes to
enable full glitchless boot.

Bug 4167760

Change-Id: I03adbf238e8ffcecd5aa5c78f2cb6b929ece807b
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on:
https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x/+/2930154
(cherry picked from commit b99c771b042cf52eed5377b1b928c9a9a330a4f3)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2956935
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-09-05 01:57:17 -07:00
Abhishek Mainkar
46064c31c3 t23x: overlay: create alias for nvdla controllers
Alias for nvdla controllers is needed for deriving the path of
controller node.

Bug 3761540

Signed-off-by: Abhishek Mainkar <abmainkar@nvidia.com>
Change-Id: Ie078a8051d363ab22bf7059e1ae77d05e2fb38f3
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2918220
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
(cherry picked from commit 7f63b010c9)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2969993
Reviewed-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-04 04:28:07 -07:00
Brad Griffis
ee2a9831fe overlay: nx/nano: enable dce and display
Enable DCE and display nodes for Orin NX/Nano devices.

Bug 4182533

Change-Id: I528d2439e5cfa3e752ca3e3d2ff7f12bf85f778d
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2966248
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-09-01 11:57:16 -07:00
Brad Griffis
5888137f08 t23x: overlay: remove tegra234-p3768-0000+p3767-0005
There should only be one overlay for p3768 carrier board and it
supports all module variants through use of the
tegra234-p3767-sku-handling.dtsi file.

For now the p3768 overlay will utilize the "corepair" instead of
"cluster" thermal cooling as it is compatible with all p3767
modules.  The "cluster" cooling would be preferred for SKU 0, but
it will soon be upstreamed to the base dtb.  To simplify overlay
maintenance we will use "corepair" for now.

Bug 4204734

Change-Id: I3908eca02b62a6a07f6ce7e7814cddab6f56449e
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2969217
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-30 10:42:12 -07:00
Asha Talambedu
41d6987300 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>
2023-08-29 08:56:48 -07:00
Vishwaroop A
6d442ea3b4 p3701: overlay: add spi device nodes
Add support for SPI device nodes for
spi controllers.

Bug 4159700

Change-Id: I09f1557a7dd4e87201605075235a58710171d85a
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2925735
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-29 08:56:42 -07:00
Gautham Srinivasan
288d8b36df overlay: p3768: Reduce pcie link speed for Orin Nano
Orin Nano SKUs (3, 4, 5) have a POR to support PCIe Gen3. By default,
all Orin SKUs support PCIe Gen4. Add overlay to update link speed to
Gen3 for Orin Nano SKUs.

Bug 3998955

Change-Id: I2fcd6ff930dd31251b8023f4a15abf5cea2a1c80
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2918315
(cherry picked from commit 36d06e7082)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2967678
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-26 22:29:13 -07:00