Commit Graph

17 Commits

Author SHA1 Message Date
Dara Stotland
e0103b5f09 arm64: tegra: Move padctl supply nodes to AGX Orin module
Some padctl supply nodes currently reside in board file, when they
should reside on module level. The nodes are part of module,
not board. Move these nodes to the correct AGX Orin
module file.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I7af97cc993d9561d1b05b7326e374ae50a724d05
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207085
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-07 11:25:53 -07:00
Dara Stotland
6920c55072 arm64: tegra: Move AGX Orin nodes to correct location
Some of the nodes inside the AGX Orin module file are in the
wrong location. In particular, the SD card interface and
two of the PCIe regulators in the module file should instead
reside in the board file. These components are not part of the
module. They are part of the carrier board. Move these
nodes to the correct location.

Fixes: cd42b26a527f ("arm64: tegra: Add regulators required for PCIe")
Fixes: d71b893a119d ("arm64: tegra: Add Tegra234 SDMMC1 device tree node")
Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I46aba99d96cc5d016b186c4df862db1f2b3d7a05
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207084
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-07 11:25:50 -07:00
Dara Stotland
f382829e61 arm64: tegra: Add common nodes to AGX Orin module
The AGX Orin module boards contain common nodes that can
be moved to the included module dtsi. This eliminates
redundancy within the files and reduces lines of code.
Data from tegra234-p3701-0000 and tegra234-p3701-0008 that
is common is now in tegra234-p3701.dtsi.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I50984aab3390d65fa8fd3eb2766be2bb06d44bdf
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207081
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-07 11:25:40 -07:00
Laxman Dewangan
9912826b40 tegra234: Align serial, usb and regulator nodes with 6.5.rc2
Do the multiple minor alignment with mainline DTS/DTSI file
as follows:
- Rearranged the clock speed of serial port based on mainline.
- Corrected the pci3v3 regualotr GPIO on P3701-0000.
- Corrected usb phy-names on Pp3768-0000.

Bug 4037899

Change-Id: Ie39ede2eaed8f7eb0a2cbee6cdde47205a358c19
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945863
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-02 14:24:41 -07:00
Yi-Wei Wang
e219da138a [UPSTREAM v6.5]: arm64: tegra: Enable thermal support on Jetson AGX Orin
Add thermal zone details and enable the PWM fan as cooling device.

Note that this also changes the cooling levels for the PWM fan, which
should have no effect, though, because the fan wasn't previously
connected to anything and by default would be turned off at probe time.

Cherry picked from commit 1d3fbd3d41a6c7552126ce39b81591de942a4207

Bug 3960800
Bug 4035713
Bug 4204722

Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ice10f86ddbbd5c27b1967f1df2d840c69e002651
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2941395
(cherry picked from commit 2352a5f822)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944241
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-01 02:55:51 -07:00
Laxman Dewangan
aaa02ac7bf tegra234: Resequence the nodes matching with mainline 6.5.rc3
Resequence the nodes in base DTBs which are available in mainline
as per mainline version 6.5.rc3.

This will help on matching the files with mainline. There is no
change in the nodes other than just changing their position based
on mainline.

Bug 4037899

Change-Id: I2e3d12b44e22c3182d6246edc9e77fd6e6554ac1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944776
2023-07-31 00:47:45 -07:00
Mohan Kumar
7670c8eb01 UPSTREAM: arm64: tegra: Add audio support for IGX Orin
Add audio support for the NVIDIA IGX Orin development kit having P3701
module with P3740 carrier board.

Move the common device-tree nodes to a new file tegra234-p3701.dtsi and
use this for Jetson AGX Orin and NVIDIA IGX Orin platforms

89b143fbba40 ("arm64: tegra: Add audio support for IGX Orin")

Bug 4115300

Change-Id: I9fd278d75eaf550c554e6a4055d81356a6556b9f
(cherry picked from commit 89b143fbba40784b05debd69603ffb82b4254564)
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
[treding@nvidia.com: properly sort nodes]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2906001
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-29 01:24:52 -07:00
Laxman Dewangan
28f66f6528 concord: base: multiple configuration change as per mainline v6.3-rc5
Changes are:
- Remove enable-active-low property from fixed regulator.
- set mmc bus width to 4.
- Set assigned clocks for pwm
- Set cooling trip point for pwm fan.

Bug 4057304

Change-Id: I74287e0987c3d53f35a5f59c75f096fcff1de001
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2888503
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
1312a1cc0c concord: p3701: Sync with mainline V6.3-rc5
Pull the nodes from overlay to base based on V6.3-rc5
p3701 files.

Bug 4057304

Change-Id: I703c45f40f0eb6a00cf6855f9b3c2ce86d319ba7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2884404
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
bdf376813b concord: status-overlay: Move base nodes overlay to base fragment
Move the enabling of nodes pwm, padctl, usb etc from base DTSI
to the base fragment.

These nodes are moved to base from overlay.

Change-Id: I734105a48c178dcbcc11535c3db44f2f7da3021a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2882653
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
5389aa10e4 p3737: Move enabling & configuration of XUSB padcontrol to overlay
The platform specific configuration of XUSB padcontroller and
controller are not upstreamed yet hence doing the configuration
via overlay file.

Move the configuration and enabling of these controller to the
overlay file.

Bug 4032485

Change-Id: Ib9db6fd2c91b2056604226458db1da0bea2c32af
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2872291
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
8b2cafa4ea P3701: Move nodes of regulator from base to overlay
The regulator nodes are added into the base file of P3701.
This DTSI file is synced from mainline and the addition
is done without upstreaming to mainline.

Move such nodes to overlay file to make the DTSI file
synced to mainline.

Bug 4037899

Change-Id: I0ba58a70977e8b65738ae36c6e6c805c018df60a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2873621
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
1b14f4edd5 p3701: Move INA from base DTSI to overlay DTSI
The instance of the INA devices on P3701 is not available in mainline.
Hence, move the node of INA devices to the overlay file to make base
DTSI files sync to mainline version.

Bug 4037899

Change-Id: I10e7567e2d6f3e671d436610a3a4bb4dd3a5a084
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2873253
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
ddca643ebc tegra234: p3701: include xusb pad control and controller dtsi
Include XUSB pad control and controller nodes dtsi to
enable the xusb pad control and controller node.

Bug 4032485

Change-Id: I8eee9882402d7535c82c373f46a32f3a1d3f020c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2871642
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
424dc0e389 arm64: dts: Add ina3221 DT entries AGX Orin
Add ina3221 DT entries to enable INA driver for Jetson AGX Orin
platfrom.

Cherry-picked from Canonical 5.15 kernel tree.

Bug 3851858

Change-Id: I9274974ea888d041e78db0b580250016c6e88b1d
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2871061
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Sheetal
64e7efb457 generic-dts: Add symbols for audio card overlays
- Defined symbols required for below audio card overlays:
   jetson-fe-pi-audio.dts
   jetson-respeaker-4-mic-array.dts
   jetson-respeaker-4-mic-lin-array.dts

- 3v3 regulator defination is removed while decoupling
  changes. Added in base dts new path hardware/nvidia

Bug 3847762

Change-Id: I754ec4f79c3d53456d543262ecc15462dd991495
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2833287
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-19 18:17:43 +00:00
Laxman Dewangan
e78eb6bffd Add base DTBs from the mainline for tegra234-p3737
Add base file DTS from the kernel-oot.
The folder commit log is

kernel-oot/arch/arm64/boot/dts/nvidia$ git log --oneline .
6cc6b20262452 [UPSTREAM PENDING]: ARM64: DT: tegra234: bump uarti reg
1e221c7b8867e [UPSTREAM v6.2]: arm64: tegra: Add SBSA UART for Tegra234
ec69e7d624b94 [UPSTREAM PENDING]: arch: arm64: DT: nvidia: fix reg tuples
76732ca4fd00f [UPSTREAM PENDING]: arm64: tegra: Bump #address-cells and #size-cells
568e9d3723fea [UPSTREAM PENDING]: arm64: tegra: Enable XUSB host and device on Jetson AGX Orin
5ace59fa956a4 [UPSTREAM PENDING]: arm64: tegra: Add iommus property to pcie nodes
4525ffc4d5237 [UPSTREAM PENDING]: arm64: tegra: Add uphy lane number and intr in p2u nodes
8b9c57f5db5cf [UPSTREAM v6.1]: arm64: tegra: Fix Prefetchable aperture ranges of Tegra234 PCIe controllers
7314e1bce4e7b UPSTREAM: arm64: tegra: Add node for CBB 2.0 on Tegra234

Bug 3948596

Change-Id: Ic1fc6190a9a1f0e5aa00544f8fb9dfb84d9852f1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2846913
Reviewed-by: svcacv <svcacv@nvidia.com>
Tested-by: Prathamesh Shete <pshete@nvidia.com>
2023-04-19 18:17:43 +00:00