288 Commits

Author SHA1 Message Date
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
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
Mahesh Kumar
8a5a3dffda t23x: display EMC phandle for interconnects property
interconnects property need emc phandle, add it to the
interconnect property for display.

Bug 4197323

Change-Id: Ia09580ea8472d04b01b9ed71c291e26fcef51f1c
Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2951023
Reviewed-by: Johnny Liu <johnliu@nvidia.com>
Reviewed-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Vinod Atyam <vatyam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-11 06:27:34 -07:00
Sameer Pujar
2e0861ddb4 tegra234: overlay: Make sound upstream compatible
It is nice to have downstream DTB working well with upstream kernel
drivers. This gives a flexibile option for users to choose between
out-of-tree and upstream audio drivers by selectively adding either
of these to deny list.

However, this does not work today because of following reasons:
  - The compatible property is overridden to work only with
    downstream machine driver. Thus upstream machine driver
    doesn't get probed and downstream machine driver cannot
    work with upstream AHUB drivers.

  - The downstream machine driver uses 'pll_a_out0' as clock
    name for PLLA_OUT0. Where as upstream uses 'plla_out0'.
    This causes probe failure in upstream machine driver with
    downstream DTB.

To fix above issues following changes are made in the overlay:
  - Extend compatible property in the overlay rather than
    overriding. This means include compatibles for both upstream
    and downstream machine drivers.

  - Align with upstream compatible clock name.

Bug 4119612

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2948459
(cherry picked from commit 2c1a3120cd)
Change-Id: Iad2adbf1a391f99c5102b0c7e49391e6c5f39942
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2954570
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
2023-08-11 01:36:46 -07:00
Yi-Wei Wang
f29dd7b7c4 t23x: overlay: Disable throttling for safety IGX
The clock frequency should be static and avoid any kind of throttling
mechanism for safety IGX. So, this change overwrites the cooling states
of the cpufreq and the devfreq cooling devices to 0 to avoid entering
any other cooling states that could throttle the clocks.

Bug 4035713
Bug 4084478

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I9756787c0e22f9325d32a4c6f3a2e7bccdd41274
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2952583
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-09 00:11:34 -07:00
Yi-Wei Wang
74f3a2846e t234: overlay: Enable thermal slowdown features
As slower clock frequency generates less heat, this change enables
thermal slowdown features which throttles CPU clock and GPU clock
when the passive trip points are crossed.

It's worth mentioning that all the CPU cores within the same cluster
are designed to operate at same clock frequency for Tegra234 platforms.
For AGX Orin series and Orin NX 16GB, there are 12 CPU cores which are
split into 3 clusters with 4 cores in each. So only one CPU core per
cluster needs to be registered as a cooling device.

But for Jetson Orin NX 8GB, Jetson Orin Nano 8GB, and Jetson Orin Nano
4GB platforms, there are only 6 CPU cores, 4 of which are in a cluster,
and the remaining 2 are in pairs in another cluster. Since it's
unpredictable at build-time which CPU cores will be disabled for a given
unit, there should be one CPU core registerd as cooling device per CPU
core pair to ensure the all the CPU clocks can be throttled.

So, this change adds tegra234-soc-thermal-slowdown-cluster.dtsi and
tegra234-soc-thermal-slowdown-corepair.dtsi to handle both of the cases.

The passive trip point temperatures are derived from
//hw/ar/doc/t23x/sysarch/power/global_functions/thermal_management/
T234_Thermal_Settings.xlsx#21.

Bug 4035713

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I5e0bea5ce6e2370710c303a057773b3d7352d168
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2952086
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-09 00:11:18 -07:00
Prathamesh Shete
903dc85e1b oot: overlay: add emmc HS mode properties
Add High speed mode properties in emmc DT node

Bug 4181788

Change-Id: Icc10f77ed552aa316fcefac8db76fb8ad78e0146
(cherry picked from commit f9fc949127)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2951313
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Prathamesh Shete <pshete@nvidia.com>
Reviewed-by: Shao-Chun Kao <shaochunk@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Shao-Chun Kao <shaochunk@nvidia.com>
2023-08-08 10:14:15 -07:00
Yi-Wei Wang
6c69a54be5 t23x: overlay: Disable rail-gating for safety IGX
This change disables GPU rail-gating as it's not a mandatory feature for
safety IGX. The ideal approach for disabling GPU rail-gating should be
deleting the `power-domains` property in GPU node. But the
/delete-property/ is not a valid syntax in the device tree overlay, the
`nvidia,tegra-joint_xpu_rail` is specified to achieve the same as an
alternative.

Bug 4084478

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ia186cc0bc18f5d1a216a511af3e5cc4588c07b21
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946710
Reviewed-by: Sagar Kamble <skamble@nvidia.com>
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-08-04 09:13:38 -07:00
Santosh Reddy Galma
8b898bc900 soc: t23x: kernel-dts: add simplefb DT node for display
- Add simplefb device-tree node which is required to show
early boot-up logs on display when UEFI initializes display
- Default status of the node is disabled by default in DT
and is enabled dynamically by UEFI only when it initializes display

- Following information is contained in the simplefb node.

i) Add display power-domain property. Without this, genpd driver
will powergate the display power-domain during kernel boot.

ii) Add all display clocks handles (even if not enabled by UEFI).
Without this, kernel CCF will disable clocks during kernel boot-up.

iii) Add reference to fb reserved region memory node.
fb reserved region node is updated by UEFI driver when it
initializes display.

iv) Add width, height, stride properties initialized to
"0" and format of display surface initialized to 32bit RGB pixel
format. These are updated by UEFI when it initializes display as
per UEFI display surface properties.

Bug 3601162

Change-Id: If938853e1d29c08753e71e94bfd5a9a007a9585a
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x/+/2917196
(cherry picked from 8baa582f3e4b26d1354bb05ee4c88c868ba2e6a7)
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2942107
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-03 09:46:40 -07:00
Santosh Reddy Galma
09beba7104 soc: t23x: kernel-dts: Add display fb carveout node
- Add display fb carveout region node to the list of
reserved memory regions
- UEFI updates the "reg" property with base address and
size of display fb carveout memory region and "status"
of display fb carveout region node to "okay" if UEFI
initializes display.
- keeping the fb carveout region node disabled by default
such that it is enabled by UEFI dynamically only when UEFI
initializes display and handsoff display fb carveout region
to kernel.
- add display fb reserved region node handle to display DT node
for unity mapping of display reserved region when SMMU driver
comes up in kernel only if display fb carveout region DT node
is enabled by UEFI.

Bug 3601162

Change-Id: Ia7060558e0723f4c04c2b026bc93a7e58692898a
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x/+/2857443
(cherry picked from 5b2263f878459f4795e079d475cb0c3f416aaf7d)
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2942106
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
2023-08-03 09:46:29 -07:00
Mohan Kumar
163d3aeae6 NVIDIA_INTERNAL: arm64: tegra: Audio support for P3740 + P3701
Add audio overlay support for P3740 + P3701 board.

Bug 4115300

Change-Id: I879c8a2cffdbd85ee5b34df43977d90133cbd3a2
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2918645
(cherry picked from commit 794029d8b3)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945328
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-08-01 07:44:59 -07:00
Johnny Liu
77a741336e t234: overlay: add interconnect property to gpu
Add interconnects property with NVLINK MC client ID and
path info to the node representing NVGPU.

Bug 3997304

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I17ac18fdd6149720369f207c2336d96989f226a6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945206
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-07-31 08:57:13 -07:00
Sheetal
b2ecb56725 t23x: p3768: Split pins into AON and MAIN nodes
- Pinmux driver split the AON and MAIN GPIO pins into
  2 nodes. It requires the change in audio headers.
- Defined new fragment for AON GPIO pins.

Bug 3960866
Bug 3950014

Change-Id: Ic8c841a9422b5b684d9fed41e77a07551db2d732
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943594
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Sheetal . <sheetal@nvidia.com>
2023-07-31 03:39:22 -07:00
Sheetal
865ce043f6 t23x: concord: Split pins into AON and MAIN nodes
- Pinmux driver split the AON and MAIN GPIO pins into
  2 nodes. It requires the change in audio headers.
- Defined new fragment for AON GPIO pins.

Bug 3960866
Bug 3950014

Change-Id: I74153b8c0cbb4e1d9986142f32af814f5cb5625f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943593
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Sheetal . <sheetal@nvidia.com>
2023-07-31 03:39:17 -07:00
Prathamesh Shete
894f5a9d0b nvidia-oot: dts: split and move pinmux dt node to base dts
Split pinmux DT node into MAIN and AON instance
and move it to base dtsi.

Cherry picked from commit 282fde002760d3a006128c1d70b329e68a6ef844

Change: Deleting the duplicate content from overlay file.

Bug 3950014
Bug 4204726

Change-Id: I7beb4074faf0c48e8ab38136ef7b495fd8c60fa6
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943363
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-07-31 03:38:48 -07:00
Sumit Gupta
4568a0edb4 tegra234: move opp from base overlay to tegra234 dts
OPP table in Upstream tegra234.dtsi is synched with latest
downstream table in below patch. In this change, moving
the table from base overlay to "nv-public/tegra234.dtsi" as
the tables are Upstreamed now.

https://lore.kernel.org/lkml/20230713133850.823-1-sumitg@nvidia.com/T/

Bug 4204733

Change-Id: I0969d0ac90b0c1c7c0a5c77eb532ffad646d3436
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2940613
(cherry picked from commit da6a15459c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944872
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-07-30 21:56:53 -07:00
Yi-Wei Wang
9caca45828 t23x: overlay: add tegra234-p3768-0000+p3767-0005
Add overlay/tegra234-p3768-0000+p3767-0005.dts with content equal to
tegra234-p3768-0000+p3767-0000.dts + overlay/tegra234-p3768-0000+p3767-0000.dts
- tegra234-p3768-0000+p3767-0005.dts.

Bug 4204734

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I48d0b2513f00748a7a8f7b39598fe36c4f1c7058
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944157
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-28 08:14:31 -07:00
Yi-Wei Wang
5108617a44 t23x: overlay: Remove duplicate thermal entries
Remove duplicate thermal entries which already landed on the mainline
v6.5 and were backported.

Bug 3960800
Bug 4035713
Bug 4204722

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Iaa7bbe01ed1cb6135ea360378559fcd931b15d75
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944082
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-28 08:14:22 -07:00
Yi-Wei Wang
cf3129d52e t23x: overlay: Overwrite compatible for safety IGX
Correctly overwrite the compatible string for safety IGX so that the
userspace application can learn whether it's safety platform or not.
In addition, split "nvidia,p3740-0002+p3701-0008-safety" into
"nvidia,p3740-0002+p3701-0008" and "safety" which is platform agnostic.

Bug 4084478

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ibf701149c9b498a47e964082d999707b4f3475ac
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2942616
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-07-26 20:57:04 -07:00
shaochunk
7719633209 t23x: overlay: add CPU-EMC mapping for orin nano
Add additional opp entry having CPU frequency
and corresponding EMC bandwidth request for
Orin nano platforms.

CPU@1510.4 MHz => EMC@2133 MHz

Bug 4001806

Change-Id: Ia990b739c7d8b55d292ee69100e763448234f17d
Signed-off-by: shaochunk <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2935527
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-18 23:41:37 -07:00
Yi-Wei Wang
9732ab899e t23x: overlay: Enable nvpmodel to cap EMC Fmax
Enable nvpmodel node for capping the max freq of the EMC clock.

Bug 4154438

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I50f8f8b1b59f70cdc483a879d3e1e71b52225d6b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2934876
(cherry picked from commit 5e8cb17169)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2935460
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-13 05:14:08 -07:00
Yi-Wei Wang
3112b267e7 p3701: overlay: Update shutdown threshold for sku8
Update thermal software shutdown threshold to 117.5C for p3701-0008
according to //hw/ar/doc/t23x/sysarch/power/global_functions/
thermal_management/T234_Thermal_Settings.xlsx#21.

Bug 3963956
Bug 4035713

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I59007ac058fdaab52f20124bf4cf593d87e58834
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2931242
(cherry picked from commit 5f1c273029)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2934193
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-07-11 07:39:30 -07:00
Mohan Kumar
40b2db8584 t23x: overlay: Fix typo for clock in ahub node
Fix typo on the ahub node for assigned clock parent
property. This fixes the below warning during the boot.

clk: failed to reparent pll_a to plla_out0: \\-22

Bug 3974546

Change-Id: I72c4196d92b4dae797a994662a22006c5093f4d5
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2931375
(cherry picked from commit 5492933556)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2932968
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-07-11 07:39:20 -07:00
Sameer Pujar
983fa62fa9 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
(cherry picked from commit 703a5974c6)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2932007
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-11 07:38:58 -07:00
Sameer Pujar
3045fd315b t23x: Build overlays required for Jetson-IO
Update makefile to enable build for the Jetson-IO overlays. In doing so
fix build errors by update include paths and file names. Also update the
fragment names as per the platform.

Bug 4161664

Change-Id: Id53af1d1210bc418b020f65277c695d0a493f09e
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2928110
(cherry picked from commit 7f973335a8)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2933429
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-10 04:56:43 -07:00
Krishna Yarlagadda
90a0271714 t23x: add prod setting overlay
Prod settings added in generic-dt for T23x soc prod
and concord platform.

Bug 4165866

Change-Id: I4bf994d86a22ddae69d10797aba54c0a7aa53727
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2932560
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Prathamesh Shete <pshete@nvidia.com>
2023-07-07 02:56:38 -07:00
Laxman Dewangan
efa9d80bdd tegra234: p3767: Remove sku based overlay for compatibility
There are base DTB based on the SKUs. Hence it is not required to
override the compatible of the platform via the overlay as it
can be done in base DTB only.

Bug 4161664
Bug 4148987

Change-Id: Iae852c8319f89d17688201d1b9ba66fed472fe37
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2931601
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-05 22:12:46 -07:00
Shubhi Garg
1642f39c4b overlay: enable remaining nodes for IGX
Enable remaining nodes left to be added for IGX platform in overlay dtsi.

Bug 4179391

Change-Id: I516cfd8c8a4301b491764a1b7b81a8b9fe055e2e
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2930733
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-07-05 06:26:47 -07:00
shaochunk
66dff8d4b3 t23x: overlay: Include camera dependencies for IGX
For tegra234-p3740-0002+p3701-0008,
Include camera DT overlay with camera related nodes

Bug 4180559

Change-Id: Ib3ed91723801f06db581a7bd7b7b2acc269c14a2
Signed-off-by: Shao-Chun Kao <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2930675
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-05 02:42:48 -07:00
shaochunk
abb5df5927 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>
(cherry picked from commit 179a88ff04)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927622
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-05 02:41:59 -07:00
Jon Hunter
470e5b237b 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
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-07-03 04:42:48 -07:00
Jon Hunter
2057949333 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
(cherry picked from commit e2e74beedb)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2928520
Reviewed-by: Wayne Chang <waynec@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-30 03:44:41 -07:00
Jon Hunter
3414210dbc 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
(cherry picked from commit c8aa8007b9)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2928303
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-30 03:44:18 -07:00
Dipen Patel
43a5756fe6 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
(cherry picked from commit bf73d28760 in dev-main)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2927947
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-30 00:56:30 -07:00
Ninad Malwade
c15e27cdfc 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
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-29 06:11:20 -07: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
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