Commit Graph

345 Commits

Author SHA1 Message Date
Asha Talambedu
aa9d7b62ee dt-common: Add JAOi compatible in header
Adds JAOi compatible string in header so that
Jetson-IO tools works for the platform

Bug 4059565

Change-Id: I21a2f39ba2b37df9e5659940ad3ec09d3007c596
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2893529
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
2023-06-28 09:29:10 +00:00
Gautham Srinivasan
bba61269b6 dt-common: Append JETSON_COMPATIBLE for Jango SKU5
Appended JETSON_COMPATIBLE with Jango SKU5 compatible to enable
the Jetson-IO support for the corresponding CVM based platforms

Bug 4028614

Change-Id: Ic48980d2403674efe81003aa45670e333f8c93b6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2871166
(cherry picked from commit 6fd7ad0066d9a2ea30fe5a412419bd60304f96aa)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2871658
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
2023-06-28 09:29:10 +00:00
Jerry Chang
f8d94758dc dt-common: revise a typo for HDR40_PIN33
revise GPIO definitions for HDR40_PIN33

Bug 3817505

Change-Id: If363bdd300201cd0e535db2c5aeaabc5e1258dfc
Signed-off-by: Jerry Chang <jerchang@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2785896
(cherry picked from commit 364b6b11ed0e67b98eb21c50c7f129321ac9c445)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2794502
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
2023-06-28 09:29:10 +00:00
Asha Talambedu
fb8cabec2a dt-common: Add AGX Orin Dev Kit SKU4 variant ref
DT header file is modified for supporting overlays on Jetson AGX
Orin Developer Kit platform's SKU4 variant.
The file adds the necessary board compatible string

Bug 3689332

Change-Id: I75116202b0afa9c305ebe023b75139392d60e822
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2734824
(cherry picked from commit 08093f59bf3ba2c3d2c6d7abaf6733f8bcc2ce47)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2741673
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
2023-06-28 09:29:10 +00:00
Asha Talambedu
d1fc24dc27 dt-common: Add Orin Jetson-Small Dev Kit board def
DT header file is added for supporting overlays on Orin Jetson-Small
Developer Kit platform. The file includes board compatible string
and definitions for 40-pin header.

Bug 200744243

Change-Id: I0ff28ac6ab0cdf944c89bbba7f7bf911efa54a45
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2595240
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
2023-06-28 09:29:10 +00:00
Laxman Dewangan
d832355850 t23x: overlay: Fix license string format
Fix the license string format and copy right of
integrated files from legacy DTS repo.

Change-Id: Ia6bfe6b7449b175771889f214e0acfecbccd7cb0
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-06-28 09:29:10 +00:00
Laxman Dewangan
d9db1343c4 t234: overlay: Rename overlay files for audio
Rename the audio overlay files to have the
"audio" in its name for easy identifications.

Change-Id: Id451c06fcffed8616ebc8c51ea5bb729688c7484
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-06-28 09:29:10 +00:00
Asha Talambedu
9374dde502 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>
2023-06-28 09:29:10 +00:00
Asha T
b7310ef8bb p3768: Added missing hdr40 pin config
Current hdr40 dtsi misses the extperiph clks
and pwm pins configuration. Hence added the same
through this CL

Bug 4033331

Change-Id: I39b2b54bbe1057dfee73451bb98e7faefd32ec9d
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/p3768-dts/+/2872809
(cherry picked from commit 572941f05417513d55b8e120b2f819e72cec127e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/p3768-dts/+/2872805
(cherry picked from commit ba24d22a526ced00a0511aed2d425ffdfa986f04)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/p3768-dts/+/2889623
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
2023-06-28 09:29:10 +00:00
Dipen Patel
70d869c90a arvala: dts: Change p3767 SKU
The public release of the p3767 module will be based on
the SKU0, while bringup happened with SKU2. Renaming the
files avoid duplicating those files for the SKU0 as both the
SKUs are identical except that SKU2 has SD card slot.

Bug 3759595

Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Change-Id: I37fa3929a7bad6ae16f66d9a22ece09d8e6bb59c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/arvala-dts/+/2795932
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/arvala-dts/+/2798109
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
2023-06-28 09:29:10 +00:00
Mohan Kumar
952d12bdb3 concord: dts: Fix DMIC3 pinmux config for hdr40
DMIC3 pin configuration for CLK and DAT are interchanged in the 40 pin
header dts file. Fix this issue for DMIC functionality to work.

Bug 4068355

Change-Id: I2acdbd8f6ad3ee44f144448f697e7285f4d3ee48
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-dts/+/2886786
(cherry picked from commit 875d5ea60e29e66eec4147423bf0fba6edc0f736)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-dts/+/2896914
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
2023-06-28 09:29:10 +00:00
Shubham Chandra
bb8deb8096 concord: dts: use generic jetson-header name
Use generic jetson-header name as below for camera
& CSI dtb overlays for both Orin and Xavier boards -
- Jetson AGX CSI connector

Bug 3605511
Bug 3417537

Change-Id: I5aaa4136a8ca57da2985a0fc06bc2ff816046664
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-dts/+/2731328
(cherry picked from commit 79ced9db6692b59f9b0c11b5cd1102b7001f30e4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-dts/+/2734709
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Shubham Chandra <shubhamc@nvidia.com>
2023-06-28 09:29:10 +00:00
Asha Talambedu
5710029c5c t23x: concord: ReSpeaker 4 Mic Linear Array support
Added overlay for supporting ReSpeaker 4 Mic Linear Array
on galen

Bug 200679216

Change-Id: I08dbce8c1199a292e1909a263eefcd0c3fa70182
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-dts/+/2649278
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
2023-06-28 09:29:10 +00:00
Asha Talambedu
400bbf7d23 t23x: concord: Fixed pin-name in hdr40 dts
Wrong pin name crept in the original cl for
40th pin hdr40. Corrected through this cl

Bug 200744243

Change-Id: I4ae9eed092f46daa57602200728acb19b2be30cb
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-dts/+/2628629
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
2023-06-28 09:29:10 +00:00
Asha Talambedu
c29861dcc0 t23x: concord: Add overlays for Orin Jetson-small Devkit
Following device-tree overlays for Orin Jetson-Small Developer Kit
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. Jetson 40-pin Expansion Header
  6. M.2 Key E header
  7. Camera connector header

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>

Change-Id: I616ee1836e2cff4a3eebd5b0cc1386d65d7fcec5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-dts/+/2598064
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
2023-06-28 09:29:10 +00:00
Laxman Dewangan
6153eb4d5d t23x: staging: Add base DTB for various SKU Jetson platforms
Add base DTB for the various SKU of Nvidia Tegra23x
based Jetson platform.

The SKU combination of base and compute modules are:
	tegra234-p3768-0000+p3767-0000.dts
	tegra234-p3768-0000+p3767-0001.dts
	tegra234-p3768-0000+p3767-0003.dts
	tegra234-p3768-0000+p3767-0004.dts
	tegra234-p3768-0000+p3767-0005.dts
	tegra234-p3737-0000+p3701-0000.dts
	tegra234-p3737-0000+p3701-0004.dts
	tegra234-p3737-0000+p3701-0005.dts
	tegra234-p3737-0000+p3701-0008.dts

The base file of following combinations already exist:
   tegra234-p3737-0000+p3701-0000.dts
   tegra234-p3768-0000+p3767-0000.dts

Adding the top level base DTB for remaining SKUs combination.

Bug 4161664
Bug 4148987

Change-Id: Ic652f7b12487b03e3e925930ca6225f9cde58322
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927259
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2023-06-27 23:47:08 -07:00
Yi-Wei Wang
f463fd1dfe p3701: overlay: Enable nvpmodel node for IGX
Enable nvpmodel for IGX for capping the max freq of the
specified clocks.

Bug 3963732
Bug 3972888

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ie299b058d80e20fc47ba265bb462c8f71dacb6f9
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2923508
(cherry picked from commit 997e629dd5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2925923
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-27 23:46:27 -07:00
Yi-Wei Wang
e16a92d008 p3767: overlay: Enable overcurrent event node
Enable the soctherm-oc-event so that the user can learn the information
regarding the overcurrent enable state and the event count via the hwmon
sysfs interface.

Bug 3571683

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I143ca294b5f57e397aad674c084b6f2b497802e7
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2923475
(cherry picked from commit 99d5c4bf98)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2925922
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-27 23:46:21 -07:00
Gautham Srinivasan
8d1c72a44d overlay: p3768: Enable mttcan device
Enable mttcan (CAN0) dt entry for Orin NX.

Bug 3998955

Change-Id: Ida8a4082c083fa27e231a87f19191fd476b195f7
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2917194
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-11 12:53:14 -07:00
Gautham Srinivasan
ae5cac4c35 overlay: p3768: Enable UART devices
Enable the below UART dt entries in overlay file for Orin NX.

UARTA - serial@3100000 (for 40 pin header)
UARTE - serial@3140000 (Goes to M2.E)

Bug 4148340

Change-Id: If8bc122b8382f1d752bd775b9ea3122d662fbc47
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2916105
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-10 19:42:24 -07:00
Gautham Srinivasan
4c64c3b9e9 overlay: tegra234: Add UARTE node
Add dt entry in overlay file for T234 to enable UARTE.

Bug 4148340

Change-Id: Ib730f565811123eb5705c2f1f6f6880fb0e89a8a
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2916104
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-10 19:42:19 -07:00
Jon Hunter
a63d9bdcb8 tegra234: overlay: Add optee DT overlay file.
Add the DT overlay for OPTEE that have been copied from the
nvidia-oot branch.

Bug 3733730

Change-Id: I13172d6c6e9930c85f0126477668858dccbbf560
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2916514
2023-06-08 18:45:39 -07:00
Brad Griffis
6c6ee3d529 overlay: p3737: absorb status file into top level dts
Make a few changes to improve the code:

1. Put the "status" file directly into the top level dts.
2. Combine all the fields from the status file into a single fragment.
3. Re-arrange fields in order by address.

Bug 4112434

Change-Id: Ib12bde175153a9e271ade3fda39a4f9751253be1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2913675
Tested-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-08 18:35:49 -07:00
shaochunk
497d2a23fc t23x: overlay: specify delayed timer for GPU devfreq polling
In order to have stable intervals of GPU devfreq polling,
we need to specify delayed timer rather than deferrable timer
for the devfreq monitor

Bug 3823798

Change-Id: I22af46a0b1ba2ab9ba84f9c18ced472de8f8b05f
Signed-off-by: Shao-Chun Kao <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2909058
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-06 01:55:28 -07:00
Wayne Chang
403499ae5f t23x: concord: generic-dts: add ucsi-ccg overlay
We use GPIO_PBB2 for CCG4 interrupt on p3737 before TS4
while use GPIO_PY4 for it after TS4.

Add the ucsi-ccg overlay to support the interrupt changes
against the old versions of p3737.

Bug 3960851

Signed-off-by: Wayne Chang <waynec@nvidia.com>
Change-Id: Ife87208e67abc31062406f4ebfd49373ad1d9091
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2908225
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sing-Han Chen <singhanc@nvidia.com>
Reviewed-by: Haotien Hsu <haotienh@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: WK Tsai <wtsai@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-03 19:16:34 -07:00
Brad Griffis
a34f16e561 overlay: p3740: absorb status file into top level dts
Make a few changes to improve the code:

1. Put the "status" file directly into the top level dts.
2. Combine all the fields from the status file into a single fragment.
3. Re-arrange fields in order by address.

Bug 4112434

Change-Id: I17c45bda32dbe803122071781d0e3ce27a0674fa
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2914312
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-02 11:08:51 -07:00
Brad Griffis
e65fddd15f overlay: p3768: modify compatible to match module
Use the overlay manager in UEFI such that the compatible
statement is modified to match the detected module.  This approach
avoids the need for creating clone dtb's that only change the
compatible statement.

Bug 4004078

Change-Id: I3a472a9654a40d7a3f91d8642e06ad5741b5e4fc
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2912849
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-31 18:47:20 -07:00
Brad Griffis
bebea7f883 overlay: p3767: disable sdcard for SKU0/1/3/4
Leave sdcard enabled by default to avoid issues with new
board bring-up, etc.  Disable sdcard interface at boot
for SKU0/1/3/4 since none of those have sdcard cage.

Bug 4085900

Change-Id: I7fdd91628377af2fb8aba4b7462bdd7567225917
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2912792
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-31 18:47:11 -07:00
Johnny Liu
2b09614ba1 t23x: nv-public/overlay: Add central actmon node
CCPLEX will read the actmon active average counter and calculate
the load information for the EMC. Other DFS scaling parameters are
moved to BPMP and removed in the kernel dts.

Bug 4041434

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I047bf263582fbd245d9660ad3a41b5493db14d73
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2896979
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ishan Shah <ishah@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-31 11:28:43 -07:00
shaochunk
9aa5bcb4ac p3767: overlay: Enable GPU node for p3767
Enable status of GPU node for p3767 series.

Bug 4128594

Change-Id: I55a6449031a8b56f1712bdee51ca6d733db227b9
Signed-off-by: Shao-Chun Kao <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2910004
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-05-30 12:16:39 -07:00
shaochunk
e3fb0fa812 p3767: overlay: Disable GPU rail-gating for combined rail
The GPU has combined rail with CPU and CV on p3767.
So we have to disable the rail gating feature of GPU.

Bug 4128594

Change-Id: I8cdbb6e2d67961dd79271bd6f85fe0e87461a26d
Signed-off-by: Shao-Chun Kao <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2909071
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-30 12:16:29 -07:00
Yi-Wei Wang
f02947cef4 nv-public-dts: Enable bpmp thermal node for IGX
Enable bpmp thermal node to enable soctherm thermal sensors for IGX.

Bug 4035713

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ie226e11a1f915b96e57d2f58ce4c3fd89505431c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2911032
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-30 05:20:35 -07:00
gauthams
b4a981d649 overlay: onx: Enable SPI nodes
Enable SPI1 and SPI3 dt entries in overlay file for Orin NX.

Bug 4130525

Change-Id: I5fdebce938a3817a102a631a330e5fff0d558fb7
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2909363
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Vishwaroop A <va@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-30 05:20:00 -07:00
Mikko Perttunen
1348e3b713 UPSTREAM: arm64: tegra: Mark BPMP channels as no-memory-wc
The Tegra SYSRAM contains regions access to which is restricted to
certain hardware blocks on the system, and speculative accesses to
those will cause issues.

Patch 'misc: sram: Only map reserved areas in Tegra SYSRAM' attempted
to resolve this by only mapping the regions specified in the device
tree on the assumption that there are no such restricted areas within
the 64K-aligned area of memory that contains the memory we wish to map.

Turns out this assumption is wrong, as there are such areas above the
4K pages described in the device trees. As such, we need to use the
bigger hammer that is no-memory-wc, which causes the memory to be
mapped as Device memory to which speculative accesses are disallowed.

As such, the previous patch in the series,
'firmware: tegra: bpmp: do only aligned access to IPC memory area',
is required with this patch to make the BPMP driver only issue aligned
memory accesses as those are also required with Device memory.

Fixes: fec29bf04994 ("misc: sram: Only map reserved areas in Tegra SYSRAM")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
[mperttunen@nvidia.com: port to downstream dts]
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Change-Id: I8a864a5a858077a1f1d2d45da706559637bc3a94
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2908381
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
2023-05-24 08:59:40 -07:00
Vishwaroop A
911b615d31 dts: tegra234: overlay: Add SPI devices
Add dt entries in overlay file for T234 to enable SPI
devices.

Bug 4122084

Change-Id: I7af5dc2ac876fd874576dac4ff4f2969902238f9
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2909144
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Dipen Patel <dipenp@nvidia.com>
2023-05-24 02:59:55 -07:00
Laxman Dewangan
6d56618410 nv-public-dts: Set file license to GPL V2.0-only
Set the license in SPDX format with NVIDIA copyright
for all non-upstreamed file.

Bug 4078035

Change-Id: I81a0bd0bce281f8b817c5d310c1823969dd82fa1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2906064
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-05-20 07:30:22 -07:00
gauthams
15bb5c4645 p3768: overlay: enable soctherm for Orin NX
Enable soctherm for Orin NX.  This is needed for the CPU
fan to operate.

Bug 4035713

Change-Id: Ie2ffb009dabda9fdb1d5c372a836041ae917bef1
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2906369
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-20 07:27:42 -07:00
gauthams
6fd9c1844f p3768: overlay: enable PWM nodes for Orin NX
Enable PWM's and tachometer for Orin NX.

Bug 3998955

Change-Id: Id9f8ab3ab804058e5fc1b828bdac4f5fd3ebd840
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2906368
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-20 07:27:38 -07:00
Brad Griffis
10915ac56a p3768: overlay: use tegra234-overlay.dtsi
Use tegra234-overlay.dtsi file for underlying definitions of all the
oot modules.

Incorporate handling for different p3767 SKUs directly into the overlay.

Alphabetize names in overlay/Makefile.

Bug 3998955

Change-Id: I3ec420e9ee19d9742942655979243fc2587bb8b6
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2903071
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-20 07:27:33 -07:00
Brad Griffis
84aaec51e9 t234: overlay: keep display nodes disabled by default
The display definitions have them enabled.  Defined them as disabled
and then enable them for individual platforms.

Bug 4116357

Change-Id: I1cdb64c28f51efab719cccb03f754f982c035d15
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2903070
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-20 07:27:29 -07:00
Shubhi Garg
aa4479fbeb overlay: enable VRS DT node
VRS10 power sequencer driver is made as kernel module.
No issues are seen after enabling it in GVS.

Bug 4037363

Change-Id: If2577020f5d63b10677601533c17ba252eb2c000
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2905764
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-18 23:48:35 -07:00
Shubhi Garg
59b0d49ae8 overlay: enable remaining DT nodes
Some nodes are disabled in base dtsi. Enabled nodes for Hope (IGX).

Bug 4054579

Change-Id: I8667ad88194ab3a6d9e41b32266fe7609523c331
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2905314
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-18 23:46:16 -07:00
Mahesh Kumar
50b7dd900e t23x: overlay: kstable: enable display in jetson
Enable display driver DT node for jetson kstable build.

Bug 3713048

Change-Id: I5f7f69e68a487f57a0798eba6f8e0213a47246a7
Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2902106
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-17 17:36:44 -07:00
Shubhi Garg
965a5e24df overlay: add overlay dtsi for IGX
Remaining nodes which are not added in upstream dtsi are added
as part of overlays.

Bug 4080340

Change-Id: If92d8638b8ff0b74ef4dbe0cd2643703bde75735
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2898603
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-12 13:50:05 -07:00
Gautham Srinivasan
3d2a3d81c2 overlay: Add overlay for P3768+P3767
Add overlay support for Jetson Orin NX P3767 module
and P3768 carrier board

Bug 3998955

Change-Id: Ie5c18695d53a0deeddac881452b7947355983ad4
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2894978
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-11 20:57:53 -07:00
Laxman Dewangan
7905c373fe tegra234.dtsi : Add ECAM register of PCIE
Add ECAM register entry in pcie nodes to match with
mainline v6.3-rc5 to help the base DTSI to align with
mainline.

Bug 4057304

Change-Id: I6ebfbcd768dead5947ed80b589f5533db0c46986
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2896563
Reviewed-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Tested-by: Vidya Sagar <vidyas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-10 06:28:38 -07:00
Shubhi Garg
2d55ddc131 overlay: fix hwpm node position and name
HWPM node is removed from host1x and kept inside bus@0.
Fixed name from tegra_soc_hwpm to hwpm@f100000.

Bug 3583624

Change-Id: I3834d8302a1bd574352a2dceb43dbccb6b33b6a1
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2900189
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-09 10:30:33 -07:00
Vedashree Vidwans
fb9c8f664d tegra234: move hwpm node as independent entry
Currently, HWPM device node is accidentally added as part of host1x
nodes. Move HWPM as an independent node out of host1x device list.

Bug 3583624

Change-Id: I6d9148dd1635b47eb854ea0966dcaaf290523fe5
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2898020
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-05-05 02:33:18 -07:00
Gautham Srinivasan
2f38af083f UPSTREAM: arm64: tegra: Support Jetson Orin NX reference platform
Add support for the combination of the NVIDIA Jetson Orin NX (P3767, SKU
0) module and the P3768 carrier board.

Ref CL: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git/commit/?h=for-6.4/arm64/dt&id=e63472eda5ea84424e4bff2b809389b0ba266613

Bug 3998955

Change-Id: I8733a7020e333332acb15da0a518f5c0b14affd7
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2894103
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-05 02:32:05 -07:00
Gautham Srinivasan
884c9fafe5 UPSTREAM: arm64: tegra: Add Jetson Orin NX support
This adds a device tree for the Jetson Orin NX module, which is Jetson
AGX Orin's little sibling with 6 or 8 ARM Cortex-A78AE cores, an Ampere
GPU (1024 GPU and 32 tensor cores) and a number of accelerators for
machine learning, image processing and more.

The Jetson Orin NX comes with either 8 or 16 GiB of 128-bit LPDDR5 and
supports NVME for mass storage.

Ref CL: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git/commit/?h=for-6.4/arm64/dt&id=13b0aca303e97500e6aa6fa7965c620394c67775

Bug 3998955

Change-Id: I10aeb14293657e491e2d7627d7f2a3639b844be4
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2894102
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-05 02:31:59 -07:00