Commit 1bd0bd49 authored by Stephen Warren's avatar Stephen Warren
Browse files

ARM: tegra: use #include for all device trees



Replace /include/ (dtc) with #include (C pre-processor) for all Tegra DT
files, so that gcc -E handles the entire include tree, and hence any of
those files can #include some other file e.g. for constant definitions.

This allows future use of #defines and header files in order to define
names for various constants, such as the IDs and flags in GPIO
specifiers. Use of those features will increase the readability of the
device tree files.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent b4dd3e0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/dts-v1/;

/include/ "tegra114.dtsi"
#include "tegra114.dtsi"

/ {
	model = "NVIDIA Tegra114 Dalmore evaluation board";
+1 −1
Original line number Diff line number Diff line
/dts-v1/;

/include/ "tegra114.dtsi"
#include "tegra114.dtsi"

/ {
	model = "NVIDIA Tegra114 Pluto evaluation board";
+1 −1
Original line number Diff line number Diff line
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"

/ {
	compatible = "nvidia,tegra114";
+1 −1
Original line number Diff line number Diff line
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"

/ {
	model = "Toradex Colibri T20 512MB";
+1 −1
Original line number Diff line number Diff line
/dts-v1/;

/include/ "tegra20.dtsi"
#include "tegra20.dtsi"

/ {
	model = "NVIDIA Tegra20 Harmony evaluation board";
Loading