Commit Graph

382 Commits

Author SHA1 Message Date
Ninad Malwade
6b52bea6a0 t23x: nv-public: Add high low sku kernel dts
Adding kernel dts for the taylor high and low sku

Bug 4404298

Change-Id: Ibd8c620dfab376a41678b9b2d3239b1c3c4b9c8a
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3085508
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
rel-36_eng_2024-03-06
2024-03-05 00:24:36 -08:00
Ankur Pawar
50b33874c0 overlay: camera: fix E3333 argus issue
Set status to okay for module0 to module5 nodes
under tegra-camera-platform in E3333(ov5693) overlay.
This will fix the issue of camera not detected by
argus.

Bug 4283726

Change-Id: Ie968a09e9661892f6f744946083198696bae5fd8
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3088333
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-04 01:24:59 -08:00
Ankur Pawar
6e69509448 overlay: camera: IMX477: Fix half preview issue
Change IMX477 line_length to 11200 and 7000 for mode0 and
mode1 respectively, this will the half preview issue. And
IMX477 framerate will be fixed while using gstreamer app.

Bug 4384649

Change-Id: I91dcae1f0417a23d685ecbc64fa09f126b3c8543
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3034410
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-04 01:24:44 -08:00
Shubhi Garg
6b483b3c28 nv-public: fix mttcan1 prod settings
For can1 controller, prod setting TDCR register address is wrong.
When we make can1 up on network with dbitrate configuration, it reads
TDCR register. Being wrong address, kernel throws cbb errors.

Bug 4504609

Change-Id: I5ee51e93d627c69c40b39e844fbfd495e5028010
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3087390
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-03 20:54:15 -08:00
Paritosh Dixit
091037754c t23x: nv-public: Reorder ethernet@6800000 regs
Currently, with our downstream DT the onboard ethernet devices
enumerates as ethernet@6810000.  With the upstream DT, this device
enumerates as ethernet@6800000. Reorder registers under the
ethernet@6800000 node in the DT so that it enumerates as
ethernet@6800000 on the target.

Bug 4494706

Change-Id: I63851784d696a66bb0985b0f60b98f30809583d2
Signed-off-by: Paritosh Dixit <paritoshd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3084079
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-27 18:56:00 -08:00
Jason Mei
a5388aba8b t23x: nv-public: add host1x handle in PCIe EP
Some EPF function, such as tvnet need host1x support.
This involves adding the handle of host1x in PCIe EP.

Bug 4456727
Bug 4451567

Change-Id: I398c8041f652fa84b555e228f06c0ca4a066ed31
Signed-off-by: Jason Mei <jianjunm@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3081924
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
rel-36_eng_2024-02-27
2024-02-25 21:40:09 -08:00
Jon Hunter
4d2010af58 t23x: nv-public: Remove duplicated MGBE properties
The 'phy-mode' and 'power-domains' properties for the MGBE ethernet
controller is present in the upstream SoC and platform files and so need
to duplicate these properties in the SoC and platform overlay files.

Bug 3820445
Bug 4293378

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: Ibf99701be0796a1b84db439c262a3f718587ab7b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082847
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-23 15:54:40 -08:00
Jon Hunter
0424f757a5 UPSTREAM: arm64: tegra: Fix Tegra234 MGBE power-domains
The MGBE power-domains on Tegra234 are mapped to the MGBE controllers as
follows:

 MGBE0 (0x68000000) --> Power-Domain MGBEB
 MGBE1 (0x69000000) --> Power-Domain MGBEC
 MGBE2 (0x6a000000) --> Power-Domain MGBED

Update the device-tree nodes for Tegra234 to correct this.

Bug 3820445
Bug 4293378

Fixes: 610cdf3186bc ("arm64: tegra: Add MGBE nodes on Tegra234")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Change-Id: I470a7128e2bc05c5c66539fab544d091b2f846a4
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082846
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-23 15:54:35 -08:00
Thierry Reding
e8a5ee3d34 UPSTREAM: arm64: tegra: Add AXI configuration for Tegra234 MGBE
The MGBE devices found on Tegra234 need their AXI interface configured
to operate at peak performance. Ideally we would do this in the driver
based off the compatible string, but the DT bindings already specify a
separate mechanism, so reuse that.

Bug 3820445
Bug 4293378

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: I206b4f47b0243b21064df1dedcad05e9f316507f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082845
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-23 15:54:30 -08:00
Thierry Reding
13afbb33f5 UPSTREAM: arm64: tegra: Set the correct PHY mode for MGBE
The PHY is configured in 10GBASE-R, so make sure to reflect that in DT.

Bug 3820445
Bug 4293378

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: I36f54566fee253515546663a332f41cf66be90b0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082844
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-23 15:54:25 -08:00
Jon Hunter
fb920bea54 t23x: nv-public: Remove unused clock and reset names
Clock and reset names are being removed from upstream device-tree for
devices that only have a single clock or reset. The QSPI driver does not
use the 'reset-names' property and so this can be removed for these
devices.

UART devices may use either the 8250 serial driver or the Tegra HS
serial driver. The default is the 8250 driver. When the Tegra HS serial
driver is used, the 'reset-names' property is required because the
driver specifically uses the reset name although there is only one. The
clock-names and reset-names for the 0x3100000 UART can be removed from
the base overlay file because the reset-names is correctly specified
in the files where the compatibility string for the Tegra HS serial
driver is set.

Bug 4037899

Change-Id: I501cd36609824e5703a6b756fc5f5389dd8d2368
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3074829
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-12 14:09:35 -08:00
Jon Hunter
6114a37466 t23x: nv-public: Fix serial aliases
When booting Linux with GRUB, the serial console does not show the
kernel boot messages as expected. By default GRUB does not add the
'console' kernel parameter and relies on device-tree to configure the
default serial port. Device-tree configures the default serial port by
setting the property 'stdout-path=serial0:115200n8' where 'serial0' is
an alises to one of the devices serial ports. The default serial port
for Tegra234 devices is the TCU0 and so 'serial0' should be mapped to
this interface. However, the 'serial0' is being updated to be mapped to
a different UART.

Fix this by removing the additional 'serialX' aliases in the base
overlay file and add any alises that are not already defined to the
appropriate board file. This does change the mapping of some aliases but
this aligns the boards with the aliases as they are defined upstream.

Bug 4264560

Change-Id: Icf6bdb1e7d5c9abf5bdbf5378b4ed8122910b507
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3072368
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-12 14:09:30 -08:00
Thierry Reding
3b8b08c22b UPSTREAM: arm64: tegra: Remove duplicate nodes on Jetson Orin NX
The SBSA UART and TCU as well as the TCU alias and the stdout-path are
configured via the P3768 carrier board DTS include, so the can be
removed from the system DTS file.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/linux-tegra/20230817141407.3678613-3-thierry.reding@gmail.com/
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: I42c8d76fef102b2d0ccfd3d427ab553b9043f5c3
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3072426
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-12 14:09:25 -08:00
Praveen AC
e20df250cd t23x:P3762: Fix failed to read 2nd Hawk EEPROM serial number.
Changed EEPROM address to 0x15 for 2nd Hawks EEPROM
to avoid fail to read serial number.

Bug 4244937

Change-Id: I24ae399de65e082c70487442ec0f93c9f8b17863
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3066246
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Praveen AC <pac@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
rel-36_eng_2024-02-05
2024-02-01 22:39:31 -08:00
Russell Xiao
b72f483520 UPSTREAM: arm64: tegra: Use consistent SD/MMC aliases on Tegra234
Tegra234 boards use a mixture of aliases for the
SD/MMC hardware blocks, which can lead to confusion.
A common method was to use mmc3 as the alias for the
eMMC because "SDMMC3" happens to be the name of the
corresponding controller in the reference manual.
This isn't a great choice because there is no hardware
named SDMMC0, so the mmc0 alias would never get used
with that nomenclature and in fact mmc1 and mmc2
wouldn't either in many configurations, thereby
creating weird discontiguous enumeration.

Instead of trying to match the aliases to the hardware
block names, use mmc0 to denote the device's primary
SD/MMC controller (typically eMMC) and mmc1 for the
secondary SD/MMC controller (typically removable SD).
In cases where eMMC is the only controller we can omit
the mmc1 alias and if a device has no eMMC, the
removable SD card can be aliased to mmc0 instead.

Bug 4182005

Co-developed-by: Russell Xiao <russellx@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/linux-tegra/20231219171523.557928-1-thierry.reding@gmail.com/
Signed-off-by: Russell Xiao <russellx@nvidia.com>
Change-Id: I67fed6013346031ab56422b1dab804a67645cae1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3012675
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Wei Ni <wni@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-24 19:54:29 -08:00
Wayne Wang
5767db6887 t23x: nv-public: add support for P3737 C5 PCIe EP
1. Add missing properties to enable C5 PCIe EP on P3737
2. Also add missing properties for some old p3737 boards

Bug 4428373

Change-Id: Ic7a6a36c6874a1d42fe903ce726b8aa075d108c4
Signed-off-by: Wayne Wang(SW-TEGRA) <waywang@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3040254
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
rel-36_eng_2024-01-24
2024-01-18 01:09:21 -08:00
Girish Mahadevan
ab02824e09 t234: soc: add mapping for scratch register space
Add the mapping for the scratch register space needed for StMM
TA. StMM needs to know A/B used during boot to access appropriate
GPT.

Bug 4261930
Change-Id: I84e000aa901479506d5bf66de1e2edba3440458b
Signed-off-by: Girish Mahadevan <gmahadevan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3055048
Tested-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-17 09:09:41 -08:00
Anubhav Rai
b4b5c42ae1 p3785: update the i2c slave address
update the i2c slave address for supporting
shadow EDID with Lontium HDMI chip

bug 4266018
bug 4301203
bug 4168489

Change-Id: I04bae434656effdf1db8a9d90d14d000436be0a0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3009478
(cherry picked from commit af027cbe55)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3030927
Tested-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-12 15:39:29 -08:00
Jon Hunter
ab126bc380 nv-public: p3737: Disable UFSHCI
The UFSHCI controller is not supported for Tegra234 Jetson platforms and
so disable this controller. Note that this change makes no difference
because the Tegra UFS driver is never automatically loaded based
device-tree for Jetson platforms. The Tegra UFS driver does not populate
the MODULE_DEVICE_TABLE() macro and so the driver has to be manually
loaded.

Change-Id: Ifb3a588b9bbd08a71bad9a71aa59e8b0e0fc038a
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3051223
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
rel-36_eng_2024-01-12
2024-01-12 05:40:30 -08:00
Dipen Patel
3382ef1179 t23x: platform: safety: Add FSI multicore support
The recent version of the FSI FW has updated it to include multi-core
FSI support where CCPLEX can communicate with multiple FSI cores, using
per core memory carveouts. This CL reflects the changes that it is
needed to accomplish that, specifically it adds mapping of the mailbox
to each core. While at it, it also corrects the epl DT node in line with
latest changes done in the safety SOC dtsi file otherwise it will create
two epl nodes which is not desirable.

JIRA L4T-4468

Change-Id: I782b57f67c553739ac76ab835da731ceb9a63c67
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997185
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
rel-36_eng_2024-01-03
2023-12-27 10:24:43 -08:00
Dipen Patel
2d0af855ad t23x: soc: safety: Add FSI multicore support
Enable FSI multi core support to communicate using CCPLEX fsicom demo
apps. It adds following to enable:
- add top2 hsp mailbox 5 and 4 for core 1 usage
- add FSI_CPU1 stream id for core 1 memory map in AST and SMMU
- new node per FSI core per SMMU instance

Bug 4243457

Change-Id: Id66c060d5daa1ca6458e3cbeee81dafc88904560
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977860
(cherry picked from commit 4e450ca886 in
dev-main)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995454
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-27 10:24:38 -08:00
Ankur Pawar
7dfa45e768 overlay: camera: IMX477: Fix half preview issue
Change IMX477 line_length to 3000 to fix the half preview
issue.

Bug 4389380

Change-Id: I5c00d487d6ccdac336c241de091df6c608a0eace
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3030085
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-13 20:54:15 -08:00
Ilies CHERGUI
1f13b70e19 nv-platform: p3740: enable I/O expander
Enable I/O expander for IGX Orin Boards Kit

Bug 4358744

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Change-Id: Iecbda281e4d3979adf8dcd776917a4faad41ec86
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3029467
Reviewed-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-13 06:09:21 -08:00
Ian Stewart
9a81385241 t23x: igx: Resize 64-bit aperture of PCIe C5
Resize 64-bit aperture of PCIe C5 controller to accommodate
endpoints with bigger BARs.

Bug 4309882

Change-Id: I8ae999df42974e5ce1144896b6d657604ce5d95c
Signed-off-by: Ian Stewart <istewart@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2987793
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: David Ung <davidu@nvidia.com>
rel-36_eng_2023-12-12
2023-12-11 12:09:35 -08:00
Praveen AC
d2ce15ed47 overlay:t23x:Fix failed to stream argus on some nodes.
Due to change in new DT arch,proc device tree path
is changes to sysfs device tree for P3762 & P3783.

Bug 4315055

Change-Id: I92fbeff974de152a0e928a45679ece7943f50048
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3020732
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Amit Purwar <apurwar@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-08 00:39:19 -08:00
Ankur Pawar
ff7a3db2aa DT: camera: single camera sensor overlay
Add single camera sensor overlay for IMX219 and IMX477.

Bug 4385287

Change-Id: I274d5305623d8cb14df71adebd341734b96e9293
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3022244
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-06 22:39:34 -08:00
Ankur Pawar
5be1acdba0 overlay: camera: IMX477: Fix half preview issue
Change IMX477 line_length to 3000 to fix the half preview
issue.

Bug 4389380

Change-Id: I294f595fa8b5757c32e635f3827a52e554d3679b
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3021259
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-06 20:24:21 -08:00
Vishwaroop A
d0aa71b652 nv-platform: p3737: enable hdr40 spi nodes
Enable SPI nodes for Concord 40-pin header.

Bug 4397019

Signed-off-by: Vishwaroop A <va@nvidia.com>
Change-Id: I1e475f404520aa847befa591d55f67563fcdad00
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3025462
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-04 21:54:39 -08:00
Praveen AC
10d83fe683 overlay:p3740: Add jeston-io support for csi file.
Add jetson-io support for configuring camera 122pin
connector.

Bug 4316763

Change-Id: I5e438e81d92b40beb482c7803865d3fe69078b92
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3020356
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Narendra Kondapalli <nkondapalli@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
rel-36_eng_2023-12-04
2023-11-29 02:24:22 -08:00
Vinod Atyam
11a8b72cf5 P3767: add hdmi hotplug support for p3767
Add HDMI hotplug support to p3767 hdmi variant.

Bug 4373614
Bug 4151995
Bug 4374769

Change-Id: Ib2bcf8423030f9522674caa6bcb22c9dad2de536
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3020682
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Mahesh Kumar <mahkumar@nvidia.com>
Reviewed-by: Arun Swain <arswain@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-28 13:25:00 -08:00
Ankur Pawar
2dea08a1e2 DT: camera: Remove CAMERA_I2C_MUX_BUS macro
Remove CAMERA_I2C_MUX_BUS macro as its not used.

Bug 4097754

Change-Id: Ia0c67cbcdacbb2b3f8ab2ae86815143dee1047c5
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019453
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-23 06:39:29 -08:00
Gautham Srinivasan
cb084391ac nv-platform: remove enablement of uart devices
Enabling UARTA and UARTE have been moved to upstream file. Hence, no
longer required in the override.

Bug 4148340

Change-Id: I5f8cf0a682a501ad9c8e1a27aa12e3a221ed99c0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019988
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-11-21 14:10:28 -08:00
Gautham Srinivasan
ef1ffd96ac nv-soc: remove uart and spi definition
UARTE, SPI1, SPI2 and SPI3 controller definition have moved to
upstream file. These definitions are no longer required.

Bug 4148340
Bug 4130525

Change-Id: Ibef26f9f83ca9509847e348287cfab92d75a1c44
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019987
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
2023-11-21 14:10:23 -08:00
Gautham Srinivasan
4c2aab0767 [UPSTREAM V6.6] arm64: tegra: Add SPI device tree nodes for Tegra234
Create the device tree nodes for the SPI1, SPI2 and SPI3 controllers
found on Tegra234.

Bug 4130525

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
(cherry picked from mainline commit bb9667d8187b58f1524a3ce203a0ddd7b107347a)

Change-Id: I3269d358f8cac2500963afa26651e3f2995a3fc6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019986
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
2023-11-21 14:10:19 -08:00
Gautham Srinivasan
6084ef986a [UPSTREAM V6.6] arm64: tegra: Enable UARTA and UARTE for Orin Nano
Activate UARTA and UARTE functionalities for Orin Nano.

- UARTA is accessible via the 40-pin header with pin 8 and 10 (TX/RX)
- UARTE utilizes the M2.E connector

Bug 4148340

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
(cherry picked from mainline commit 96ff27cecbc9dec9858786228c351341372b482f)

Change-Id: Iffce03a6a159d7909fb711e56344c00cc63ac96a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019985
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
2023-11-21 14:10:14 -08:00
Gautham Srinivasan
5a7c289143 [UPSTREAM V6.6] arm64: tegra: Add UARTE device tree node on Tegra234
This commit adds the device tree node for UARTE on Tegra234.

Bug 4148340

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
(cherry picked from mainline commit 940acdac99b24cc96e8c55b71e7386ce2deb05cf)

Change-Id: I3d702277dd34575f63c80383e1bf76fa9d7a2ffd
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019984
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
2023-11-21 14:10:09 -08:00
Yi-Wei Wang
9279090408 nv-public: add support for thermal trip event
This change binds thermal trip event cooling devices to the following
events:
- sw throttling event
- hot surface event

When the bound trip point temperature gets crossed, the associated
cooling device will become active, and its state can be learnt from the
user space to take the action accordingly.

The thermal trip event cooling device is not needed for safety IGX so
disable it.

Bug 4261645
Bug 1688327

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ifa7f2dfb5c95113e9902e3ea4dfc03197065c5e5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015753
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-11-20 20:09:46 -08:00
Vedashree Vidwans
9bc8cd05e7 nv-platform: p3768: enable hwpm, mc-hwpm DT node
HWPM node is removed from host1x and kept inside bus@0.
Fixed name from tegra_soc_hwpm to hwpm@f100000.
Enable mc-hwpm node as well.

Bug 4336579

Change-Id: I68cfa5dd362a5cd34798c14c9400e6a8b9a43c57
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017663
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-16 16:24:20 -08:00
Yi-Wei Wang
62c5d9f2f6 nv-platform: p3701: separate cvm from nv-common
Remove tegra234-p3701-0000.dtsi from
tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi and have cvm-specific
file included in tegra234-p3737-0000+p3701-000*-nv.dts accordingly.

In addition, create tegra234-p3701-0005.dtsi which includes same
definitions as tegra234-p3701-0000.dtsi but with CMA size set to 512MB.
Hence,  no longer to handle the CMA size in the dynamic overlay.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I4230f7d7a0a3cc5e189ee5a121981123bbb889c5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016296
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-15 23:25:01 -08:00
Yi-Wei Wang
b3d85c9765 nv-platform: restructure tegra234-p3701-0008.dtsi
Most of the entries in tegra234-p3701-0000.dtsi and
tegra234-p3701-0008.dtsi are same, thus include tegra234-p3701-0000.dtsi
in tegra234-p3701-0008.dtsi and handle the different blocks in
tegra234-p3701-0008.dtsi.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I4dc68d3f25651f9213f8b42f9e66000071c9234c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016679
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-15 23:24:56 -08:00
Yi-Wei Wang
c194f14a21 nv-platform: replace INA, hdr40_vdd_3v3, and CMA
The on-board INA sensors and hdr40_vdd_3v3 regulator should be defined
in CVB-specific device tree instead of CVM-specific.
CMA should be defined in CVM-specific instead of CVB-specific.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I31ebb14ffacb6d1fb58ba3848f4ce1ac5322655f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016311
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-11-15 23:24:51 -08:00
Brad Griffis
e5ce927b18 overlay: add name to tegra234-carveouts.dtbo
Add a name to the overlay.  This is helpful when debugging issues
related to overlays.

Bug 4290389

Change-Id: I08d0c991bcd2eeada0e9ab1a8254c902b713dfc2
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016116
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-15 00:39:16 -08:00
Brad Griffis
04b77e5935 nv-platform: remove p3767-0000 cd-gpios override
The polarity has been corrected in the upstream file.  We no longer
need to specify the cd-gpios for p3767 in the override file.

Bug 4307643

Change-Id: Ie93b20953b0e1ff2e573be4639dbe35ed05a286e
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015537
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-14 06:09:33 -08:00
Brad Griffis
0ffaaa271f arm64: tegra: Fix P3767 card detect polarity
The SD card detect pin is active-low on all Orin Nano and NX SKUs that
have an SD card slot.

Bug 4307643

Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Change-Id: Ib62725a90625027150f7b55c41af0f18bc5f5e69
(cherry picked from mainline commit c6b7a1d11d0fa6333078141251908f48042016e1)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015536
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-14 06:09:28 -08:00
Brad Griffis
3a08e89b02 arm64: tegra: Fix P3767 QSPI speed
The QSPI device used on Jetson Orin NX and Nano modules (p3767) is
the same as Jetson AGX Orin (p3701) and should have a maximum speed of
102 MHz.

Bug 3854990

Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Change-Id: I150f32186f5102ff3e09873fc1c2784ebb3df87e
(cherry picked from mainline commit 57ea99ba176913c325fc8324a24a1b5e8a6cf520)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015535
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-14 06:09:23 -08:00
Gautham Srinivasan
4351270491 overlay: p3767: enable C4 based on odm data
Handle alternate ODMDATA configurations related to PCIE EP mode on C4

Bug 4076164
Bug 4052872

Change-Id: Idf8a48f9915d928ed91da9382dd5e793a01cfeb9
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013330
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-09 22:40:58 -08:00
Gautham Srinivasan
fb7d1ce43e nv-soc: Add PCIe C4 EP DTS node
Add PCIe C4 EP controller definition in device tree for T234 devices

Bug 4076164
Bug 4052872

Change-Id: I5fc4755c2105bc7c7cae4c41b7404002b2a60458
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3012402
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-09 22:40:54 -08:00
Ankur Pawar
c28baeab52 camera: orin-nx: fixes in IMX477+IMX219 overlay
Fix the following in the overlay
1. Put IMX219 lens node was bus@0 parent node.
2. sysfs-device-tree path of IMX219 v4l2-lens.
3. Node name of second IMX219 sensor.

Bug 4359952

Change-Id: I0dd6973de09f28bcdbef3951eec1cc1d2297c5ca
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3011007
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-09 04:41:23 -08:00
Brad Griffis
71752edda2 nv-public: SD card fixes for Concord and Nano
The power supply info is missing for the SD card interface:

1. SD card for Concord is implemented at the board level, not in
   the module itself.  Accordingly the updates are in the board
   files (p3737) rather than the module (p3701).

2. SD card for Orin Nano is implemented at the module level.
   Accordingly the updates are in the modules files (p3767)
   rather than the board files (p3768).

Bug 4307643

Change-Id: Id2bc9071387b3a16141db68076d29f0158f82cce
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013069
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-08 18:09:28 -08:00
Gautham Srinivasan
4ce6d86157 nv-soc: add infrastructure for aon_echo
Add aon_echo node which is disabled by default. This
can be enabled with the feature in the SPE firmware.

Bug 4296173

Change-Id: If29fbcd01b978dec2dcaa3631ee0c14e0c4ab038
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2954310
(cherry picked from commit 9275899572)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2989797
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-08 09:24:34 -08:00