summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2022-11-22 11:25:05 +0100
committerThierry Reding <treding@nvidia.com>2023-01-17 13:55:20 +0100
commit79ed18d9ece474c15a2578e1cc5bfb4fce7a8eb7 (patch)
treec0880e8013ff6c5dd4656a3bfb1ec4a13403ff97 /arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
parent2838cfddbc1c4e12dacf8219efb481ab11c114a4 (diff)
arm64: tegra: Sort nodes by unit-address, then alphabetically
Nodes in device tree should be sorted by unit-address, followed by nodes without a unit-address, sorted alphabetically. Some exceptions are the top-level aliases, chosen, firmware, memory and reserved-memory nodes, which are expected to come first. These rules apply recursively with some exceptions, such as pinmux nodes or regulator nodes, which often follow more complicated ordering (often by "importance"). While at it, change the name of some of the nodes to follow standard naming conventions, which helps with the sorting order and reduces the amount of warnings from the DT validation tools. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi')
-rw-r--r--arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
index a87e103f3828..b4a1108c2dd7 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
@@ -1,5 +1,8 @@
// SPDX-License-Identifier: GPL-2.0
+
+#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/pinctrl-tegra.h>
/ {
model = "NVIDIA Tegra210 P2597 I/O board";