Commit Graph

21 Commits

Author SHA1 Message Date
ByungKuk Seo
1a5be92d47 Revert "Revert "concord: add display hdcp property
This reverts commit 0772bd52c7.

Reason: back to hdcp_enabled, fixed by
http://git-p4swmirror/r/c/p4swmirror/tegra/gpu/drv_v1/+/258600

Bug 4620917

Change-Id: Iedf15d35d2872f199002d8f46656f652a524c7a0
Signed-off-by: ByungKuk Seo <bseo@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3155263
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
2024-06-25 14:55:37 -07:00
Sahil Mukund Patki
0772bd52c7 Revert "concord: add display hdcp property"
This reverts commit 14a735049d.

Reason for revert: TSEC T/O issues blocking JP-6.0 GA release

Bug 4620917

Change-Id: Id4cb8787bc3e678698050c6a4638955ec21d7781
Signed-off-by: spatki <spatki@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3127615
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
2024-06-03 02:55:00 -07:00
Evgeny Kornev
f735cf3f58 dt: soc: t234: add iommu mappings for vi&isp units
Access the syncpoint shim and gos (if any) via SMMU.

Bug 4152947

Change-Id: Id78bd8615587691f548b7ec2628d6ffc049053b6
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3113896
Reviewed-by: Semi Malinen <smalinen@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Pratik Prajapati <pratikp@nvidia.com>
Tested-by: Mika Liljeberg <mliljeberg@nvidia.com>
Reviewed-by: Kalle Jokiniemi <kjokiniemi@nvidia.com>
Reviewed-by: Mika Liljeberg <mliljeberg@nvidia.com>
2024-05-06 02:40:37 -07:00
spatki
14a735049d concord: add display hdcp property
HDCP is only supposed to be enabled on L4T and only on concord
and slt platforms. A property hdcp_enabled in dtsi is checked
to decide whether hdcp should be enabled or not. This change
adds the property

Bug 3920465

Change-Id: I7749441d48302c83669692760c95643df91c7adb
Signed-off-by: spatki <spatki@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3088268
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2024-03-18 03:54:10 -07: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>
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
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
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>
2024-01-18 01:09:21 -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
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
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
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
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
Brad Griffis
abe7182afe nv-soc: add /firmware/uefi node
UEFI requires a node to exist at /firmware/uefi.

Without this node Orin Nano overlays failed to apply properly.

Bug 4273952

Change-Id: I123e5182ba47b5ffe7c562db284a42809fcdbca6
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3007596
Reviewed-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-31 14:39:19 -07:00
Kirill Artamonov
d5d3b69f29 nv-soc: increase camera dbg frame size
Increase dbg frame size to match updated firmware-api specs.

Jira CT26X-461
Bug 4356250

Change-Id: Ifee25c658b4bd5c87f07e801d0269bf3632871b7
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3004145
(cherry picked from commit 8044e67823)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006648
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-10-31 06:09:25 -07:00
Shubhi Garg
22beb61c76 t23x: overlay: add aliases for tegra and vrs rtc
This change adds alias to bring rtc0 as VRS RTC and rtc1 as
tegra rtc upon kernel boot. This way VRS RTC being rtc0 will
be used to sync system time since VRS RTC has battery backup.

Bug 3937658

Change-Id: I67319ed444cebe476ab1b76391fe6817df7b0b09
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999459
(cherry picked from commit ae60381081fc01aa3724c34b173b56a74b64fcf8)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999330
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-31 01:39:48 -07:00
shaochunk
c0daab9962 t23x: overlay: remove dt devfreq config for gpu
Remove the dt configuration for gpu devfreq
because dt should contain only hw-related
configuration.

The gpu devfreq configuration would be supported
by nvgpu module parameters.

Bug 4084478

Change-Id: I9dfef11648203c6af281e980d3a5790b36742414
Signed-off-by: shaochunk <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978819
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-23 05:09:44 -07:00
Brad Griffis
8f0cbdad83 nv-public: remove REMOVE_FRAGMENT_SYNTAX
These preprocessor conditionals were a temporary step to facilitate
step by step reviews.  Remove them and fix indentation.

Bug 4290389

Change-Id: Iecdbdf1869bec00538530d59420622d8563a116a
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000004
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-19 18:24:24 -07:00
Brad Griffis
ee6247a701 nv-public: add new nv dtb files
In this commit:

1. The large platform overlays are being directly built into
   a new base "nv" dtb. The names of these new dtbs directly tracks the
   name of the upstream dtb that it extends. For an upstream dtb named
   <base>.dtb the new corresponding new file is named <base>-nv.dtb.

2. The source files for <base>-nv.dtb are located in the nv-soc/ and
   nv-platform/ files.  Those files originated in the overlay/
   directory but are moved to reflect that they are no longer part of
   an overlay.

This new layout seeks to simplify building and handling of dtb files
while retaining close compatibility with the upstream dts sources.

Bug 4290389

Change-Id: Ic812e8e16c5515bb3e17b99a23815a99f67c42a2
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996468
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-18 16:39:31 -07:00