The #address-cells and #size-cells properties for the top-level bus were
set to 1 because that was enough to represent the register ranges of all
the IP blocks on that bus. However, most of these devices can do DMA to
a larger address space, so translation of DMA addresses needs to happen
in a 64-bit address space.
Partially this was already done by the memory controller increasing that
address space by setting #address-cells and #size-cells to 2, but a full
DMA address translation would still cause truncation when traversing to
the top-level bus.
Fix this by setting #address-cells = <2> and #size-cells = <2> on the
top-level bus and adjusting all "reg" and "ranges" properties of its
children.
As kstable(K6.0) and OOT(K5.15) are using same overlay files, add kernel
version check to update only for OOT.
Bug 3719994
Change-Id: Ic0b22fcc74a76630e686080e4a9b273903084318
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2820589
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Add T234 Jetson overlay file. This file is moved from
nvidia-oot. The changes contains on this file are:
**
commit 6799b30ec71c629fb6cb2ef92b2f05723e4cdddb
Author: Dinesh T <dt@nvidia.com>
dts: Add linux-cma node with 256MB for GPU requirements
This is adding a linux-cma node for supporting compression
for NVGPU and other contiguous memory requirements.
Bug 3793199
commit c9759f1ef7227fc3e8f0bf7a0d8e1f0bd35e60aa
Author: Brad Griffis <bgriffis@nvidia.com>
arm64: tegra: Update Tegra234 Jetson DT overlay
Add devices nodes for Multimedia, DLA, PVA and GPU devices.
Bug 3724727
commit cd6fe5db1dee486a0c823d40a9d1488b81d68cfa
Author: Brad Griffis <bgriffis@nvidia.com>
arm64: tegra: Add DT overlay for Tegra234 Jetson
Add a new overlay for Tegra234 Jetson boards that populates the
necessary device-tree nodes for devices that use out-of-tree drivers.
Bug 3724727
**/
Change-Id: I6d72db3a24dffd6b1f88f546cf39e1ddcf61a1e3
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/+/2807814
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Overlay DTS files contain the overlay DTBO nodes to apply on top
of base DTB of the given platform.
The overlay DTS files are used by non-linux client also and
doest not have access to nvidia-oot path.
Copy all concord overlay DTS files so client can refer these
overlay dtbos.
These files are copied only without any edit.
Files are synced from the nvidia-oot/archarm64/boot/dts/nvidia
Change list from folder nvidia-oot/archarm64/boot/dts/nvidia is:
af9627e nvidia-oot: dts: pinmux: Add pinmux DT node for T234
2af0e64 arm64: dts: Add smmu_test node
7ca4e62 arm64: tegra: Remove GPCDMA driver from OOT
b068fae t23x: concord: dts: enable cpu core power gating
f23cc48 dtb: disp: Add display node to concord overlay dtb
994623c nvidia-oot: add soc-hwpm device node
6d2a57d nvidia-oot: add tsec driver as oot module
9bc606c arm64: tegra: Enable RT5640 codec support
a765a2e arm64: tegra: Add overlay dts for t234 carveouts
f8c472c dts: pwm-fan: Add Tegra234 PWM FAN
bfea978 arm64: tegra: Add assigned-clocks binding for AHUB
bbde9d8 dts: pwm: Add Tegra234 PWM controller
6799b30 dts: Add linux-cma node with 256MB for GPU requirements
9fa1d2a DTB: DCE : Add dce node to t234 soc overlay
943cc4d arm64: tegra: Enable APE sound card
55220a5 arm64: tegra: Correct the compatible for SE4
b0746ed arch: arm64: add gpu node in OOT
Bug 3860258
Change-Id: I03dee2f1cce9b26dcdbd0ce81f4082bc92f95220
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/+/2807228
Reviewed-by: svcacv <svcacv@nvidia.com>
Add DT binding headers, non-upstreamed version, which
are used for SOC and platform DTS/DTSI. These headers
are in staging state and taken from the
hardware/nvidia/soc/generic-dts/tegra/include/nvidia-oot.
Bug 4078385
Change-Id: Ia482b55e44c708ce5cab7d1fbcb8abfc07f4e440
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Sync the DT binding headers for tegra234 which are required
for SOC and platform DTS/DTSI from kernel V6.3-rc5.
Bug 4078385
Change-Id: I96ee533ae752879ca8a3f06a732180c631cce228
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>