]> www.infradead.org Git - linux.git/commit
arm64: tegra: Restructure Orin NX/Nano device tree
authorVedant Deshpande <vedantd@nvidia.com>
Thu, 27 Jun 2024 21:53:16 +0000 (21:53 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 28 Jun 2024 15:37:19 +0000 (17:37 +0200)
commit5e4bbe52207c3927dd2690e46bdbef6392d7bde4
treece25035acabf4ff706e35e2264a1ea991ee1bc23
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
arm64: tegra: Restructure Orin NX/Nano device tree

The Orin NX and Orin Nano boards share a common carrier board and the
module boards for both platforms are very similar. Therefore,
restructure the Orin NX/Nano device-tree source files to adhere to a
simple hierarchical format. This will help make clear where changes
should go, and eliminates redundancy within the files.

Previously the carrier board file was independent. However, given
that it is so tightly coupled with the module design, it will be
more practical to combine files together for a simpler layout.

Following changes are made to restructure the device tree source files:
1) Change include hierarchy. Top-level dts includes board dtsi.
   Board dtsi includes module dtsi. Module dtsi includes SoC dtsi.
2) Data from the top level dts file that is common to both Orin NX
   and Orin Nano is in tegra234-p3768-0000+p3767.dtsi.
3) Only data that is unique to NX/Nano is present in the top-level dts.

Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767.dtsi [moved from arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi with 90% similarity]