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
Yi-Wei Wang
58a9253a09
nv-platform: Disable CV engines for Orin Nano
...
Disable DLA and PVA for Orin Nano as they are not present.
Bug 4338263
Change-Id: I47377db6daa5db9894fa5783bfdbad8ae3a7a9c1
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3008711
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com >
rel-36_eng_2023-11-07
2023-11-06 00:25:06 -08:00
Bibek Basu
723872c59c
t234: igx: set default uart speed
...
Since controller 31d0000 speed is not passed from device tree,
probe failed.
Bug 4332566
Change-Id: I7087ba15001b22b259235e87e3591f0707b8a785
Signed-off-by: Bibek Basu <bbasu@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3007386
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-11-03 07:09:57 -07:00
Jon Hunter
d5f38ecfe7
t23x: nv-public: Update ina3221 properties
...
The ina3221 driver has been updated to pull in the latest upstream
changes. The property 'summation-bypass' has been replaced with
'ti,summation-disable' in upstream and so update the device-tree
accordingly.
Finally, remove the 'io-channel-cells' property because this is not used
at all and hence not needed.
Bug 3851858
Change-Id: Id1c1e7e994b185167f7b17ae682e26cb886f2704
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005677
(cherry picked from commit 4fdf4e123b )
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005156
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com >
Reviewed-by: Ninad Malwade <nmalwade@nvidia.com >
2023-11-03 05:25:03 -07: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
Ashish Mhetre
c601da8e39
overlay: Enable mc-hwpm DT node
...
Enable device tree node for mc-hwpm driver in T234 hope overlay file.
Bug 4235766
Change-Id: I855a48e91dff4431137894b2315600da9e014574
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3001297
Reviewed-by: Ketan Patil <ketanp@nvidia.com >
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-20 05:24:20 -07:00
Yi-Wei Wang
ba1e77ae66
t23x: overlay: support p3701-0000-as-p3767-0004
...
Add tegra234-p3737-0000+p3701-0000-as-p3767-0004.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0004.
Bug 4196830
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com >
Change-Id: I32ec52f637c474a0c3ed86ad54a191b07c67cfcd
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000667
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-10-20 03:11:39 -07:00
Yi-Wei Wang
4348607bf9
t23x: overlay: support p3701-0000-as-p3767-0003
...
Add tegra234-p3737-0000+p3701-0000-as-p3767-0003.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0003.
Bug 4196830
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com >
Change-Id: If2328ce300658b21adda268e052de83d5fa89800
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000485
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-10-20 03:11:28 -07:00
Yi-Wei Wang
b2de83215c
t23x: overlay: support p3701-0000-as-p3767-0001
...
Add tegra234-p3737-0000+p3701-0000-as-p3767-0001.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0001.
Bug 4196830
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com >
Change-Id: If5bf7a21ba20f5af19f680b4a6d92f8999e5be41
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000424
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-10-20 03:11:17 -07:00
Yi-Wei Wang
efe6abb8fa
t23x: overlay: support p3701-0000-as-p3767-0000
...
Add tegra234-p3737-0000+p3701-0000-as-p3767-0000.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0000.
Bug 4196830
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com >
Change-Id: I6a96ec751996724a8bccad0fa1ede582b682a31e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000376
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-10-20 03:11:06 -07:00
Yi-Wei Wang
85d6d86a2c
t23x: overlay: support p3701-0000-as-p3701-0004
...
Add tegra234-p3737-0000+p3701-0000-as-p3701-0004.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3701-0004.
Bug 4196830
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com >
Change-Id: I68201cacdec750ff3aed3ecb161ef8063b3749df
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978923
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-10-20 03:10:56 -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
Gautham Srinivasan
ff77a8a1cd
overlay: p3767: add hdmi dcb overlay
...
Add DCB overlay to support HDMI
Bug 4260444
Change-Id: I11b955e11928794b7393eb9f52ba47cf81740601
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999888
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Vinod Atyam <vatyam@nvidia.com >
Reviewed-by: Brad Griffis <bgriffis@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-19 16:09:50 -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
Brad Griffis
a011a22ad5
overlay: remove fragment syntax with preprocessor
...
As part of the process to transitioning to a full featured
base dtb, we need the ability to include various files without
completely rewriting them. This will be an incremental step.
Eventually these preprocessor commands will be removed and
the indentation fixed.
This change is not intended to change any behavior. It is merely
adding the infrastructure for future patches. It will be possible
for a base dts file to define REMOVE_FRAGMENT_SYNTAX and directly
include these files.
Bug 4290389
Change-Id: I778bc25dcd7e4fa96f003882e34e38fe5aaf40e7
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992336
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-17 16:54:28 -07:00
Brad Griffis
323d1fd8b6
overlay: move camera-related files to dynamic overlay
...
Cameras are optional and so they should be part of the dynamic overlay.
Keep the soc-related camera file in the static overlay.
Bug 4290389
Change-Id: I216f271d39fb9e1e1585ede14d3ca28e5d49fd6c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996299
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-17 16:54:23 -07:00
Brad Griffis
10775b443a
overlay: refactor fragments for main overlays
...
Use 1 fragment with target '/'. This makes it easier to migrate code
from an overlay to a base dtb.
Bug 4290389
Change-Id: I8427d9bb1b42d9cd7923a72a3ab026b4db4b6924
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992246
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-17 13:24:24 -07:00
Kartik
2b8131ec80
Revert "overlay: p3701: Remove unused interrupts from timer node"
...
This reverts commit f29d381a73 .
Bug 4173986
Change-Id: Ic0052acfb4af2641e76bd3b9bb9309f78e96cbc2
Signed-off-by: Kartik <kkartik@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995357
(cherry picked from commit 4db512925f50748f39f68ff80db7190e51b30785)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2998483
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-17 00:09:32 -07:00
Kartik
5304377476
arm64: tegra: Use correct interrupts for Tegra234 TKE
...
The shared interrupts 0-9 of the TKE are mapped to interrupts 0-9, but
shared interrupts 10-15 are mapped to 256-261. Correct the mapping for
the final 6 interrupts. This prevents the TKE from requesting the RTC
interrupt (along with several GTE and watchdog interrupts).
Bug 4173986
Change-Id: I5357b9c57d0d01345da54e78a8d8d4506ac8971d
Reported-by: Shubhi Garg <shgarg@nvidia.com >
Fixes: 28d860ed02c2 ("arm64: tegra: Enable native timers on Tegra234")
Signed-off-by: Thierry Reding <treding@nvidia.com >
Tested-by: Kartik <kkartik@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995358
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
Reviewed-by: Kartik Rajput <kkartik@nvidia.com >
(cherry picked from commit bc36839056 )
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2998420
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Tested-by: Kartik Rajput <kkartik@nvidia.com >
2023-10-17 00:09:27 -07:00
Brad Griffis
8659e49247
overlay: add overlay-name to dynamic overlays
...
Fixes: "overlay: put runtime fragments in separate overlay"
Newly created overlays were created in the above patch, but the names
were omitted. Add overlay-name to each new overlay.
Bug 4290389
Change-Id: I3f9b8f44d3dc127f840d7e823500c026318234be
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997389
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-16 14:39:19 -07:00
Sheetal
58e42d9b14
p3768: Enable APE nodes
...
- Enabled APE nodes.
- For Jetson IO tool:
- Added required labels.
- Defined regulator node.
Bug 4287075
Change-Id: I94a92fb460e00da2c59b9e537514a5d0a5b8710e
Signed-off-by: Sheetal <sheetal@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996845
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-10-16 07:54:21 -07:00
Ankur Pawar
014aa0884d
DT: add interconnect information for RCE
...
Bug 3997304
Change-Id: I5cd5e532a8a5303367068cf4276a424a5770a12e
Signed-off-by: Ankur Pawar <ankurp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2912199
(cherry picked from commit fa51d49880 )
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997832
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-16 05:24:50 -07:00
Gautham Srinivasan
27a9472777
overlay: add missing "SPDX-FileCopyrightText" tag
...
svcacv is giving -1 as SPDX-FileCopyrightText tag was missing in
the license header. Fix them.
Bug 4327489
Change-Id: Ie71faf9d60550318d4722bdc0559af4cd2d3b441
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995601
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-13 02:43:40 -07:00
Brad Griffis
af4c57cd95
overlay: put runtime fragments in separate overlay
...
This is an incremental step toward having a "with-oot" base dtb
that contains both the upstream dtb as well as the nvidia-oot
data in a single statically built dtb.
Note that currently the base dtb is stored and managed in the
rootfs via extlinux.conf file. The overlays however live inside
the UEFI partition. The ultimate goal is to have consistency
in how the dtb files are managed.
After we combine the data from nvidia-oot overlay dtb into the
future "with-oot" base dtb then we can move the remaining overlays
to the rootfs and manage all dtbs/overlays there.
This patch takes the first critical step toward this goal by
separating the static overlay data from the dynamic overlay data
that gets applied conditionally at run-time.
Bug 4290389
Change-Id: I403ac84b0737368b8bc96952552729ab7e46802b
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2991524
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-10-11 21:56:45 -07:00
Ankur Pawar
b6654615e2
camera: orin-nx: correct the lens path
...
IMX219 lens node is under bus@0, give same path in
sysfs-device-tree property.
Bug 4273295
Change-Id: Ic0a37e8f5be4af89052d0d6a7bf74c654330dd49
Signed-off-by: Ankur Pawar <ankurp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974784
Reviewed-by: Addarsh Srivastava <addarshs@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-11 21:56:35 -07:00
Brad Griffis
2fa2e4b191
overlay: p3768: enable i2c5
...
UEFI expects that i2c5 is enabled and will throw an assert otherwise.
In k5.10 dtb this was enabled there as well, so enabling here for
consistency and to avoid issues with UEFI.
The i2c5 controller is necessary for HDMI use case but it is ok to
have it enabled for DP use case.
Bug 4327032
Change-Id: Ib9af7c95198b7650df2537d0859ed8a5b8af1aa0
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995550
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-11 19:40:41 -07:00
Gautham Srinivasan
a38de0f405
overlay: p3768: PCIE alternate UPHY config
...
Manage PCIe (C7 and C9) controllers using odm-data field.
PCIe alternate config "gbe-uphy-config-9" uses C7x1 and
C9x1 controllers.
Bug 4052872
Change-Id: I9608b17f0a99e0fd382e3f9c6da72753626e7f2c
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2993862
Reviewed-by: Dipen Patel <dipenp@nvidia.com >
Reviewed-by: Brad Griffis <bgriffis@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-11 19:40:31 -07:00
Akhil R
e9f24537f9
overlay: soc: Update Tegra SE compatible
...
Update Tegra SE compatible to support the new driver
instead of tegra-se-nvhost driver.
Bug 4221414
Bug 3579794
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: I8534daf772b1f0a514d691ad068ea9891fc1400b
(cherry picked from commit 550cab93e5 )
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992685
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-11 19:40:08 -07:00
Mark Zhang
67f121772d
dts: optee: Add fTPM nodes
...
This patch adds several fTPM device tree nodes. These nodes are to pass
4 things from MB2 to OP-TEE:
- Silicon identity private key
- Silicon identity public key
- MB2 event log signature
- TOS event log signature
Bug 3960022
Change-Id: Id02dbcc4d92968eb93420bf327b243e5255ef16e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x/+/2915245
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978522
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Tested-by: Mark Zhang <markz@nvidia.com >
2023-10-09 23:54:52 -07:00
Ankur Pawar
6d346a9167
concord: use predefined macro JETSON_COMPATIBLE
...
SKU8 is not included in compatible string of
camera sensor overlay. This is causing issue of
sensor not detected on SKU8 board.
Use JETSON_COMPATIBLE macro which has all
SKUs.
Bug 4301117
Change-Id: I93d34a6f8ece632bf25d7cd65a037bf3351b450a
Signed-off-by: Ankur Pawar <ankurp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2988039
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-08 21:24:15 -07:00