Commit Graph

19 Commits

Author SHA1 Message Date
Yi Ju Huang
369f63f7fd t23x: nv-soc: remove disablement of sce-fabric
The SCE fabric disablement is now upstream. Remove the
duplicate fix in the override file.

Bug 4369009

Change-Id: Ie822ede04b61a96dae8096fc9ddc369b4c9669b6
Signed-off-by: Yi Ju Huang <yijuh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3295634
(cherry picked from commit da79c21a2e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3298149
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2025-02-11 23:39:25 -08:00
Yi Ju Huang
d7b7b31fda t23x: nv-soc: remove DCE typo fix in overlay file
The Tegra DCE fabric typo fix is now upstream. Remove the
duplicate fix in the override file.

Bug 4369009

Change-Id: I03b2695abcfa5cf0a8b9430351d5586934b7e129
Signed-off-by: Yi Ju Huang <yijuh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3295630
(cherry picked from commit e3b19dcab0)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3298147
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-02-11 23:39:17 -08:00
Brad Griffis
be2e2fc352 Revert "t234: soc: add missing cells parms to intc"
This reverts commit d544ee193d.

Reason: remove override-implementation and replace with the
upstream implementation.

JIRA TEGRAUEFI-3252

Change-Id: Id47240170a4e7267316e7fa0811da8cfe45c0a94
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3295645
(cherry picked from commit ba684a7ad2)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3296122
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2025-02-05 07:08:33 -08:00
Jeshua Smith
1df507ec3f t234: soc: add missing cells parms to intc
DTB spec says:
"A DTSpec-compliant boot program shall supply #address-cells and
 #size-cells on all nodes that have children"

This adds the required cells to the interrupt-controller node.

It also fixes up pcie interrupt-map values to
use the correct number of #address-cells. They
appeared to be using 0 before.

JIRA TEGRAUEFI-3252

Signed-off-by: Jeshua Smith <jeshuas@nvidia.com>
ChangeId: Iaa30ab7a1612aa8927a6de239fb201c66049ab0f
Change-Id: Iaa30ab7a1612aa8927a6de239fb201c66049ab0f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3231095
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-10-29 08:20:44 -07:00
Sumit Gupta
d6ff6eaef6 t23x: nv-public: tegra: fix typo in dce fabric compatible
Fix typo in the compatible string of DCE fabric.

Bug 4369009

Change-Id: Ic68a46a89f3859dd93034fd0e774e379699d7859
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3185578
(cherry picked from commit dadc4a48b6)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3229275
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-10-16 13:36:40 -07:00
Sumit Gupta
5f881cb239 t23x: nv-public: tegra: disable sce fabric node
Disable SCE fabric node to avoid overwrite of the actual CBB error and
to print info about the original error. Access to SCE fabric registers
was blocked by firewall after the introduction of FSI. After that any
illegal access by some SW to SCE registers is correctly resulting in
the CBB firewall error. But when CCPLEX tries accessing the SCE-fabric
registers to print error info, then another firewall error comes as
the fabric registers are also firewall protected. This causes second
error info to be printed which is misleading. Disable SCE fabric node
to avoid printing the misleading second error. The first error will
get printed on interrupt from the fabric causing the actual access.

Bug 4369009

Change-Id: I8f47516248bf239d9a5c7780d0f10456b1ebd9de
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3179289
(cherry picked from commit 43c90b2f83)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3229274
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-10-16 13:36:31 -07:00
Brad Griffis
386f143862 t23x: nv-soc: Enable USB remote wakeup support
Add SC7 wake support:
- wake 76 for SS port 0
- wake 77 for SS port 1
- wake 78 for SS port 2 and SS port 3
- wake 79 for USB2 port 0
- wake 80 for USB2 port 1
- wake 81 for USB2 port 2
- wake 82 for USB2 port 3

Bug 4166189

Change-Id: I16bf1215178f0b7bc0486794a42f169fc6185315
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3217045
(cherry picked from commit 435cef0dc5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3219750
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-30 11:47:54 -07:00
Vedant Deshpande
d64a024f00 nv-soc: Remove redundant properties of eth node
Remove the properties of the ethernet device node
which are already present in tegra234.dtsi.

Bug 4707773

Change-Id: Ic65955c587c18ad185b42e4f3317c0eba39b456c
Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3170872
(cherry picked from commit 5b71d8a42b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3177118
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-07-26 07:56:33 -07:00
ruppala
b0a87160ca t23x: nv-soc: Disable nvidia,macsec-enable
Disable macsec for nvethernet in L4T platforms

Bug 4640382

Change-Id: Ie2203015008b3972499602557edd296461ae6c58
Signed-off-by: ruppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3166951
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sanath Kumar Gampa <sgampa@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-07-11 16:06:56 -07:00
Sameer Pujar
a27a5a2ae2 t23x: nv-public: Remove legacy sound bindings
Graph sound card driver is enabled by default now and legacy machine
driver is going to be removed. Hence cleanup the legacy bindings and
going forward only maintain the graph sound card bindings. The 'sound'
device for graph card and legacy machine driver were merged earlier,
so we don't require duplicate phandles for the 'sound' node. Hence
remove the 'tegra_sound_graph' phandle.

Bug 4596865

Change-Id: Ie5a0a325a3d8b72d102a789116f7ccafa0bc7726
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3111444
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-05-21 16:36:46 -07:00
Vishwaroop A
7577f8b531 nv-soc: qspi: set qspi parent and frequency
Configure the QSPI controller parent clock
to PLLC and set the required frequency.

Bug 4509953
Bug 4474594

Signed-off-by: Vishwaroop A <va@nvidia.com>
Change-Id: I9d258778e8ee7932d2bcbd5b3c8b648d9b339624
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3089397
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-03-12 13:29:00 -07:00
Paritosh Dixit
10354e89f5 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>
(cherry picked from commit 091037754c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3085057
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-02 09:03:36 -08:00
Jon Hunter
4a727c972f 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
(cherry picked from commit 4d2010af58)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083876
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-27 06:55:07 -08:00
Jon Hunter
4ef527c5e1 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
(cherry picked from commit fb920bea54)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3075748
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-02-13 20:10:34 -08:00
Jon Hunter
8e062e8340 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
(cherry picked from commit 6114a37466)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3075606
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-13 20:10:19 -08:00
Shubhi Garg
6dcf22acd6 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
(cherry picked from commit 22beb61c76)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3010744
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-08 09:33:16 -08:00
Brad Griffis
955b31bed3 nv-public: fix indentation for nv-dtb includes
As a final step in changing overlay fragments to includes
for nv dtb files, fix the indentation.

Bug 4290389

Change-Id: Ib7be8c925a33b5d30b93a8a8491ea8fe6419f2a4
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005704
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-28 19:02:07 -07:00
Brad Griffis
ef304f6995 nv-public: remove REMOVE_FRAGMENT_SYNTAX
These preprocessor conditionals were a temporary step to facilitate
step by step reviews.  Remove them.

Delete display overlay includes from tegra234-jetson.dts since the
formatting no longer is correct for an overlay.  This file
tegra234-jetson.dts is planned for removal in the near future.

Indentation will be fixed in a follow-on patch to make reviews easier.

Bug 4290389

Change-Id: Ia6a0e240a96823e989e994d5564a7f0ad94061cc
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005701
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-28 19:02:02 -07:00
Brad Griffis
2f14d2d18f 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
(cherry picked from commit ee6247a701)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002840
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-27 22:43:37 -07:00