Commit Graph

331 Commits

Author SHA1 Message Date
Jon Hunter
1a7faee1bf t23x: overlay: Enable GPU for IGX
Enable the GPU for Tegra234 on the NVIDIA IGX Orin platform.

Bug 4159372

Change-Id: I11d11f26766185c45623ac26c071a5082f28de83
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2929286
(cherry picked from commit 470e5b237b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2930101
Reviewed-by: Shubhi Garg <shgarg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-05 14:53:00 -07:00
Sameer Pujar
703a5974c6 generic-dts: Remove compatible overrides for OOT
Kernel OOT audio support uses different compatibles to pick specific
OOT drivers for audio. This method requires additional compatible
overrides in the DT overlay which is not a very flexible way to pick
driver modules.

It is possible to pick specific driver modules by adding the not needed
ones to the denylist in the configuration files in '/etc/modprobe.d/'.
This means different compatibles are not necessary and modules can be
filtered based on the name in configuration files. With this it will
be easier to switch between driver modules and also will reduce the
overrides in the overlay. Thus remove all 'oot' reference from driver
compatibles.

Bug 4119612

Change-Id: I420007ee253c8e99c32db54a5e85b3aa79e7cc21
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927031
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Sheetal . <sheetal@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-05 14:42:05 -07:00
Ninad Malwade
0eedc24947 overlay: p3768: Enable ina3221
Enable ina3221 nodes for p3768-0000-p3767-*

Bug 4128538

Change-Id: I737775069fd20c8c104ef1d6e75dd00aada67dce
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927852
(cherry picked from commit c15e27cdfc)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2928872
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-03 15:14:46 -07:00
Johnny Liu
180b6ef7a5 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
Reviewed-by: Ninad Malwade <nmalwade@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-07-03 06:16:26 -07:00
Jian-Min Liu
3449d555c2 concord: sdcard: disable ddr50 nodes on ACK
It is not support ddr50 mode in Concord

Bug 4160556

Change-Id: I1364c6beaa4dff4411bf4433307f1a343a7ee66d
Signed-off-by: Jian-Min Liu <jianminl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2926920
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-30 12:48:35 -07:00
Jian-Min Liu
0c17d422cb concord: Enable DMA mode for UART ports on ACK
Bug 4161602

Change-Id: I2d926241eb25eb627d0b614bc0513658df482617
Signed-off-by: Jian-Min Liu <jianminl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927386
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Kartik . <kkartik@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-29 19:03:50 -07:00
Jon Hunter
c8aa8007b9 t23x: overlay: Use upstream watchdog driver for Jetson
The upstream watchdog driver is sufficient for Jetson devices and so
remove the nodes that enable the out-of-tree watchdog driver.

Bug 3994400

Change-Id: Iaa874f1a1bc657bf88f77b29af5c7aa6f88cbf93
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927180
Reviewed-by: Kartik . <kkartik@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-28 08:29:49 -07:00
Jon Hunter
e2e74beedb t23x: overlay: Remove Cypress Type-C from overlay
Now the Cypress Type-C is upstream for Jetson AGX Orin, remove the
Cypress Type-C from the overlay.

Bug 4152207

Change-Id: I8ded3c7c33bdd5917f66bd2dc17cf12755f0e0c3
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927125
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-28 08:28:30 -07:00
Dipen Patel
bf73d28760 overlay: Add safety dts for hope devkit
Add safety dts support for the hope devkit. The safety extension package
(SEP) includes safety dtb with below addition from non-safety dts.
- Requires SPI3 to communicate to SMCU as client device
- Requires hsp@1600000 instance to talk to FSI
- Requires FSI communication nodes for userspace safety apps

Why changes in the existing fsicom dtsi file:
- safety dts leverages fsicom dtsi
- fsicom_client label and node name are same which gives issue during
the compile time
- Added epl kernel node which is required for the Error propagation
library feature.

Bug 4122084
Bug 4128263

Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Change-Id: Ied29a993ab7f9141a3688b33c064721dfbbdff2b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2907719
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-28 08:10:37 -07:00
Gerrit Code Review
635145ad51 Merge "t23x: overlay: Integrate audio overlay files" into dev-main 2023-06-28 02:06:40 -07:00
Ankur Pawar
dd15c88bb7 Concord: add tegra23x to the compatible string
v4l2-test-app search for tegra23x in compatible
string of board.

Bug 4154279

Change-Id: I1f24ba5234962d57c69513378124a775d0471830
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2924510
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-28 02:02:03 -07:00
Wayne Chang
54eedab168 WAR: android: disable 3610000.usb
3610000.usb caused a boot crash on k515 TOT, disable it first.

Bug 4015418

Change-Id: I577079dcdd3649d06df50c7f49950ee0f8e53b3f
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2926167
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Yijun Zhou <yijunz@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Jian-Min Liu <jianminl@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-27 09:27:58 -07:00
Laxman Dewangan
5e9223fe3b 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-27 11:18:59 +00:00
Laxman Dewangan
bc24dfd0d4 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-27 11:06:50 +00:00
Asha Talambedu
c54f07879a 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-27 11:06:39 +00:00
Asha T
b1f3a07be2 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-27 11:06:30 +00:00
Dipen Patel
941dc63cb2 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-27 11:06:19 +00:00
Mohan Kumar
8994dbebd3 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-27 11:06:01 +00:00
Shubham Chandra
cea2589939 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-27 11:05:46 +00:00
Asha Talambedu
95fb788676 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-27 11:05:39 +00:00
Asha Talambedu
bfaf1ce11d 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-27 11:05:28 +00:00
Asha Talambedu
ea55e76b2c 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-27 11:05:12 +00:00
Vishwaroop A
a24de83a27 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/+/2923773
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-06-26 06:17:52 -07:00
Jon Hunter
7d94e518eb arm64: tegra: Remove compatible string for Tegra234 MGBE
Remove the downstream compatible string for Tegra234 MGBE ethernet
controller so that the device-tree can work with either the upstream
MGBE ethernet driver or the out-of-tree nvethernet driver.

Bug 3918941

Change-Id: Idfcb139a634b57bfaec5a48fcd95bbc96a8f6a4c
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2864204
(cherry picked from commit 3c93142b99495ca387ddce81efa75ee2589d590f)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2905284
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-24 07:27:58 -07:00
Revanth Kumar Uppala
6a0d6841e8 nvethernet: Add base DT node for nvethernet
Bug 3918941

Change-Id: Ic39968d0880f3042c597db476bd2721549c34321
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2849552
(cherry picked from commit c4974a04010c4de66ee4a963195df0bbce505c92)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2905283
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-24 07:27:48 -07:00
Jian-Min Liu
e300745b31 concord: Enable SPI nodes on ACK
Bug 4160556

Change-Id: Id72fc1025838ceb1777d3fcdc442561ac28fec11
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2923180
Reviewed-by: Vishwaroop A <va@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Jian-Min Liu <jianminl@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-22 23:37:20 -07:00
Yi-Wei Wang
997e629dd5 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
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-21 13:27:41 -07:00
Yi-Wei Wang
99d5c4bf98 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
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-06-21 13:27:37 -07:00
Abhishek Mainkar
7f63b010c9 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>
2023-06-21 13:25:05 -07:00
Jon Hunter
cc408c2ba9 overlay: t23x: Update Jetson overlay for Linux v6.3
Commit 2838cfddbc1c ("arm64: tegra: Bump #address-cells and
#size-cells") updated the address-cells and size-cells for the bus@0
node to be 64-bits. Update the Tegra194 Jetson overlay to work with the
latest upstream device-tree.

Bug 4075345

Change-Id: Iee236f217b2ba0122ca1c0580988c1c5f95a186d
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920653
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-20 15:08:18 -07:00
shaochunk
dae7ec498b p3701: overlay: Enable GPU node for p3701
Enable status of GPU node for p3701-0008.

Bug 4156327

Change-Id: I25f140622a4dd2bf1668d89c6e430b2cf1e48ffc
Signed-off-by: Shao-Chun Kao <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920400
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-20 08:36:46 -07:00
shaochunk
179a88ff04 t23x: overlay: add CPU-EMC mapping for T234
Add additional opp entry having CPU frequency
and corresponding EMC bandwidth request for
below T234 platforms:

- p3701-0008: CPU@1971 MHz => EMC@2133 MHz
- p3767-0000: CPU@1984 MHz => EMC@2133 MHz

Bug 4001806

Change-Id: I7abef63a688bde10d98485adc76b8029a671f692
Signed-off-by: shaochunk <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920259
Reviewed-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-20 08:36:33 -07:00
Ankita Garg
7a0a05dd42 concord: Enable ethernet nodes on ACK
Bug 4119014

Change-Id: I2c9e2057923b35b1ffa76dc8a96e7d89e5aa33ee
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920163
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Ankita Garg <ankitag@nvidia.com>
2023-06-18 19:02:59 -07:00
Ankita Garg
1f57f002b5 concord: Add kernel param to indicate native boot
Add androidboot.hypervisor=disabled parameter to android boot args to
indicate that it is native boot. The device-tree for hypervisor env is
different and it sets the value to enabled.

Bug 4127755
Bug 4053665

Change-Id: Ib5b76cab7f011b17233851178e078c7ce79d819a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920162
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Ankita Garg <ankitag@nvidia.com>
2023-06-18 19:02:55 -07:00
Bruce Xu
78b132032d nv-public: Add dts overlay for android
Add an overlay for android to pass android specific values for bootargs
and other modules.

Bug 4127755

Change-Id: I52c3b2b1c8dc5b3a0f7734baf1e41b2f54b88995
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920161
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Ankita Garg <ankitag@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-18 19:02:50 -07:00
Laxman Dewangan
125ed138f7 p3701: overlay: Add sku handling for p3701
Add overlay DTSI for handling the various SKUs of
P3701 as run-tie overlay on primary overlay file.

Add this overlay dtsi file into the main overlay
DTS file to incorporate handling for different
p3701 SKUs directly into the overlay.

Bug 4154438

Change-Id: I60720c77797ee6f43d1149266e45a8180435dd11
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2921693
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-17 09:12:25 -07:00
Bitan Biswas
25e24d0f63 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
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920667
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-15 12:18:36 -07:00
Joseph Lo
f8c6ff8c2c tegra234: overlay: Add fTPM node
This adds a ftpm node for the fTPM TEE CA driver in the kernel.

Jira L4T-1317
Jira L4T-2972
Bug 200771475

Change-Id: Ie2ba35012006a01f930b1d355cd0bca35cf1a26f
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920215
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-14 11:48:42 -07:00
Gautham Srinivasan
36d06e7082 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
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-06-14 11:39:19 -07:00
Gautham Srinivasan
6c91a6b646 overlay: tegra234: Update UARTB node
Following are the updates made for UARTB in device tree:
1. Add compatible string "nvidia,tegra234-uart", "nvidia,tegra20-uart"
in base overlay and "nvidia,tegra194-hsuart" in platform overlay
2. Use definitions GIC_SPI, TEGRA234_IRQ_UARTB and IRQ_TYPE_LEVEL_HIGH
3. Remove parent clock names as upstream driver do not use it
4. Move reset-names to platform overlay

Bug 4148340

Change-Id: I4d0c6456023233df019bf54b9cc220c45d3c0608
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2916558
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-06-13 22:48: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