Commit Graph

345 Commits

Author SHA1 Message Date
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
Gautham Srinivasan
284c1f1c62 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
(cherry picked from commit 6c91a6b646)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2967772
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-25 12:41:29 -07:00
Ashish Mhetre
bf73cb3635 overlay: Add mc-hwpm DT node
Add device tree node for mc-hwpm driver in T234 overlay files.

Bug 4235766

Change-Id: I7deb3278a8796e51ed35235ee5ac8ed2c45eec9b
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2963200
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-22 10:11:58 -07:00
Anubhav Rai
def89cea03 prometheus: remove voltage regulators in HDMI-CSI
remove voltage regulators from DTB to fix flash failure

bug 4243602
bug 4231431

Change-Id: I7f3c7e1098f321063efdd63e949ed7b8e4fdf4b5
Signed-off-by: Anubhav Rai <arai@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2962743
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-16 15:41:16 -07:00
Anubhav Rai
526f30e7a0 prometheus: add HDMI CSI bridge
add HDMI CSI bridge overlay

bug 4231431

Change-Id: Ie510275f5493d7cfb5113d4841d3e96ddd101e9d
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2959976
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-08-15 17:12:19 -07:00
Laxman Dewangan
3b03f7cf15 tegra234: p3737-0000: Move audio codec to base from overlay
The audio codec and sound nodes are added into the base DTS
file in mainline. Hence, to align the base DTB with mainline,
move the audio codec from overlay file to the base file.

Cherry picked from commit f3e2de01530fdeb1317d7680740f0b5894ffd607
Change: Partial integration limited to codec only. Rest of changes
        are already integrated.

Bug 4037899

Change-Id: I0d4835b2d1503610261dacc3049d61514592fea2
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Signed-off-by: Thierry Reding <treding@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/+/2949578
(cherry picked from commit 2cf1cedaa4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955889
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 22:11:47 -07:00
Laxman Dewangan
5d38cfaa63 tegra234: Add ethernet node properties in base file
Add properties of ethernet node which are missing
from mainline 6.5-rc2.

The properties which are used for downstream are
applied via overlay.

Bug 4037899

Change-Id: I76bba693844b6c16f4e915b9c55c152e22824117
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2949571
(cherry picked from commit f0a23e3a6e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955888
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 22:11:41 -07:00
Laxman Dewangan
45653446e2 tegra234: Avoid new label of node which is already labeled
The i2s4 endpoint node is already labeled as i2s4_dap

bus@0->aconnect@2900000->ahub@2900800->i2s@2901300->ports->port@1->endpoint.
So avoid relabeling again of same node, use the existing label.

This will help matching the file with kernel 6.5.rc2

Bug 4037899

Change-Id: I7206510f6556406bb4fb5b311a5832b79118aa0f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948445
(cherry picked from commit 2bfd356c6d)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955887
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 22:11:36 -07:00
Laxman Dewangan
8b15f87dc5 tegra234: Set audio-hub clock parent as PLLP
Set the audio-bub parent clock as PLLP instead of PLLA
to align the configuration to mainline 6.5.rc2.

Bug 4037899

Change-Id: Icbbcb7e22a5ef63701b507ad53bd53f83f063fed
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948444
(cherry picked from commit 8e955b03dd)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955404
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 22:11:31 -07:00
Laxman Dewangan
aba3fe360c tegra234: Add bootargs in base DTB tegra234-p3737-0000+p3701-0000
Add bootargs matching with mainline for the platform
tegra234-p3737-0000+p3701-0000 as
	bootargs = "console=ttyTCU0,115200n8"

Bug 4037899

Change-Id: I8123348fd8b5b6ed344a6955e7294f77612511f4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948332
(cherry picked from commit 6e96c24966)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955886
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 22:11:26 -07:00
Vidya Sagar
7571e0a6f2 arm64: tegra: Fix non-prefetchable aperture of PCIe C3 controller
Fix the starting address of the non-prefetchable aperture of PCIe C3
controller.

Fixes: ec142c44b026 ("arm64: tegra: Add P2U and PCIe controller nodes to Tegra234 DT")

Cherry picked from 47a2f35d9ea76d92aa2385671f527b75aa9dfe45

Change-Id: I77dd2e744c11ab657719e2ec6c8357883967e6bc
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Thierry Reding <treding@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/+/2947578
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
(cherry picked from commit 3a45ac52bd)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955403
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 22:11:21 -07:00
Laxman Dewangan
dbd67b026d tegra234: Move boot argument from base to overlay
The property "bootargs" is not available in base file
available in mainline. Hence, move this to overlay file.

Bug 4037899

Change-Id: I3065495c1d7e3e6f67f456fe0359c355cb024aff
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2947548
(cherry picked from commit 377744a854)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955885
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 22:11:16 -07:00
Laxman Dewangan
18c086b748 tegra234: Align serial, usb and regulator nodes with 6.5.rc2
Do the multiple minor alignment with mainline DTS/DTSI file
as follows:
- Rearranged the clock speed of serial port based on mainline.
- Corrected the pci3v3 regualotr GPIO on P3701-0000.
- Corrected usb phy-names on Pp3768-0000.

Bug 4037899

Change-Id: Ie39ede2eaed8f7eb0a2cbee6cdde47205a358c19
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945863
(cherry picked from commit 9912826b40)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955807
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-12 10:13:35 -07:00
Laxman Dewangan
6728ad5ff5 tegra234: overlay: Make hardware-timestamp node disabled by default
The node of "hardware-timestamp" is added in the base file but
there is no status property. Add status property and make as
disabled. The plafrom who needs these node will enable in their
respective DTS file.

Bug 4037899

Change-Id: I960eb024978aa4d424568b785433d2b295fb4f70
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945730
(cherry picked from commit 133a575efc)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955806
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 10:13:23 -07:00
Dipen Patel
bddfa3b017 [UPSTREAM V6.4]arm64: tegra: Add Tegra234 GTE nodes
Add GTE LIC and AON GPIO nodes for the tegra234 SoC.

Bug 3961133

Change-Id: I7cd2cea078aa48f8a36b73238f2e714165f5a406
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2913469
(cherry picked from commit d7506e9d3a)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955402
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 10:13:19 -07:00
Laxman Dewangan
7993466be3 tegra234: overlay: Remove unnecessarily xpads overlay
The xusb pads initialisation of the USB nodes are synced
with mainline. This have the required phy initialisation
in usb nodes. Hence, it is not required from overlay.

Remove the non-required overlay and label.

Bug 4037899

Change-Id: I3001a76802bf9413e5c4657022b162f6fc166091
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945472
(cherry picked from commit 4299749de8)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955401
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 10:13:14 -07:00
Laxman Dewangan
b3c42980f9 tegra234: sync DTS file tegra234-p3737-0000+p3701-0000 with mainline
Sync the base DTS file tegra234-p3737-0000+p3701-0000.dts to mainlne.
Following are changes:
- Add serial1 alias.
- Add reset-names on serial1.
- Add extra lines before node in i2c@c240000 to match
  with mainline.

Bug 4037899

Change-Id: I09cc3efef053dddd5334e7155010f93f09655847
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945465
(cherry picked from commit d8f331d2c7)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955805
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 10:13:08 -07:00
Jon Hunter
bdfef2159e arm64: tegra: Enable USB device for Jetson AGX Orin
Enable USB device support for the Jetson AGX Orin platform and update
the mode for the usb2-0 port to be on-the-go.

Cherry picked from commit 620405856d591ef95b01ee3e275af3a636c05010
Bug 4037899

Change-Id: Ibf888805db8e613220f017fdb039251d614908f2
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@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/+/2945471
(cherry picked from commit ac3c6e8acc)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955804
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 10:13:03 -07:00
Brad Griffis
18db1ecf6c t23x: overlay: add fusb301 to p3768
The carrier board of the Orin Nano Dev Kit uses the fusb301
for determining which mode to set the USB.  Add the necessary
device tree entries to enable this IC.

Bug 4119758

Change-Id: I1915487bc9fd259118c6e785da4014424e5837fc
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2938182
(cherry picked from commit 53cd13710e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2954949
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-12 10:12:59 -07:00
Laxman Dewangan
6ce3794fdb tegra234: Move reset/clock names property to overlay
The serial and qspi nodes of mainline version of tegra234.dtsi
do not have the clock and reset names as properties.

Match the tegra234.dtsi and move these properties to overlay.

Bug 4037899

Change-Id: I47647ece2d99430623bbaf7af5176298405c277a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945386
(cherry picked from commit f596618d50)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955400
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:56 -07:00
Laxman Dewangan
c56740577d tegra234: Move un-upstreamed pci nodes to overlay
PCIE nodes get added in the base DTS file
"tegra234-p3768-0000+p3767-0000" which are not up-streamed
to mainline yet. Move such nodes to the overlay file.

Bug 4037899

Change-Id: I3b58e9d6a118ab399fd4dad512b51ea59e1aa443
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945336
(cherry picked from commit fb6e6b2f31)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955593
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:51 -07:00
Laxman Dewangan
2f06fecd0c tegar234: overlay: tegra234-p3740-0002: Remove duplicate regulator
Following regulators are synced from mainline 6.5.rc-3 into the
base DTSI file.
  - regulator-vdd-3v3-dp
  - regulator-vdd-3v3-sys
  - regulator-vdd-wifi-3v3

Removing the same regulator from the overlay files.

Bug 4037899

Change-Id: I2fe5e1f1e155f2249aaba6727501fc25b68b2357
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945323
(cherry picked from commit e27a7ad362)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955592
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:46 -07:00
Shubhi Garg
c78d072374 arm64: tegra: Add PCIe and DP 3.3V supplies
Add the 3.3V supplies for PCIe C1 controller and Display Port controller
for the NVIDIA IGX Orin platform.

Cherry picked from mainline commit 2fd2ad3a839efea5919f9a64ab74dd05b9ab0058
Bug 4037899

Change-Id: I4007ce7cdedaeda28fc3587452f8e6ab48553534
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@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/+/2945322
(cherry picked from commit ba0fab9eb5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955591
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:41 -07:00
Laxman Dewangan
d02c8f169c tegra234: Resequence the nodes matching with mainline 6.5.rc3
Resequence the nodes in base DTBs which are available in mainline
as per mainline version 6.5.rc3.

This will help on matching the files with mainline. There is no
change in the nodes other than just changing their position based
on mainline.

Bug 4037899

Change-Id: I2e3d12b44e22c3182d6246edc9e77fd6e6554ac1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944776
(cherry picked from commit aaa02ac7bf)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955590
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:35 -07:00
Jon Hunter
ff2c20a738 arm64: tegra: Add DSU PMUs for Tegra234
Populate the DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU)
devices for Tegra234 which has one DSU PMU per CPU cluster.

Cherry picked from commit 8e0ae0fb4b91655bcdca2a4d7d16ebb81fc5d786

Change-Id: Ie4fe03fcb04d2ea7022d650e222d1c44f408e9e0
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@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/+/2942606
(cherry picked from commit 5b1c490da5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955399
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:30 -07:00
Laxman Dewangan
e177fde95a tegra234: Move dma-coherant property from overlay to base
The base DTSI file of tegra234, tegra234.dtsi, have already
property of dma-coherent inside node host1x@13e00000 in mainline.

Move this property from overlay to the base file to match
tegra234.dtsi with mainline.

Bug 4037899

Change-Id: I1260ce822a594308e9a0cc672c4669d185e20277
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2940603
(cherry picked from commit 5fd589841f)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955398
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:25 -07:00
Laxman Dewangan
e01cba0fe5 tegra234: Rearrange the node sequence to match with mainline
Resequence the node in file tegra234-p3740-0002+p3701-0008.dts as
per mainline to reduce the differences.

Cherry picked from commit c95711d7dbc41cc0eb8927313f8482b2b07c8280
Change: Only move the nodes location.

Bug 4037899

Change-Id: Ib42f10b58483c7a3f570a6b23e3f4ee319ce4a06
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Signed-off-by: Thierry Reding <treding@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/+/2940480
(cherry picked from commit 756e73e1c4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955589
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 15:41:20 -07:00