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

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
/dts-v1/; /dts-v1/;
/include/ "tegra114.dtsi" #include "tegra114.dtsi"
/ { / {
model = "NVIDIA Tegra114 Dalmore evaluation board"; model = "NVIDIA Tegra114 Dalmore evaluation board";
......
/dts-v1/; /dts-v1/;
/include/ "tegra114.dtsi" #include "tegra114.dtsi"
/ { / {
model = "NVIDIA Tegra114 Pluto evaluation board"; model = "NVIDIA Tegra114 Pluto evaluation board";
......
/include/ "skeleton.dtsi" #include "skeleton.dtsi"
/ { / {
compatible = "nvidia,tegra114"; compatible = "nvidia,tegra114";
......
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "Toradex Colibri T20 512MB"; model = "Toradex Colibri T20 512MB";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "NVIDIA Tegra20 Harmony evaluation board"; model = "NVIDIA Tegra20 Harmony evaluation board";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20-colibri-512.dtsi" #include "tegra20-colibri-512.dtsi"
/ { / {
model = "Toradex Colibri T20 512MB on Iris"; model = "Toradex Colibri T20 512MB on Iris";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20-tamonten.dtsi" #include "tegra20-tamonten.dtsi"
/ { / {
model = "Avionic Design Medcom-Wide board"; model = "Avionic Design Medcom-Wide board";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "Toshiba AC100 / Dynabook AZ"; model = "Toshiba AC100 / Dynabook AZ";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20-tamonten.dtsi" #include "tegra20-tamonten.dtsi"
/ { / {
model = "Avionic Design Plutux board"; model = "Avionic Design Plutux board";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "NVIDIA Seaboard"; model = "NVIDIA Seaboard";
......
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "Avionic Design Tamonten SOM"; model = "Avionic Design Tamonten SOM";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20-tamonten.dtsi" #include "tegra20-tamonten.dtsi"
/ { / {
model = "Avionic Design Tamonten Evaluation Carrier"; model = "Avionic Design Tamonten Evaluation Carrier";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "Compulab TrimSlice board"; model = "Compulab TrimSlice board";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "NVIDIA Tegra20 Ventana evaluation board"; model = "NVIDIA Tegra20 Ventana evaluation board";
......
/dts-v1/; /dts-v1/;
/include/ "tegra20.dtsi" #include "tegra20.dtsi"
/ { / {
model = "NVIDIA Tegra20 Whistler evaluation board"; model = "NVIDIA Tegra20 Whistler evaluation board";
......
/include/ "skeleton.dtsi" #include "skeleton.dtsi"
/ { / {
compatible = "nvidia,tegra20"; compatible = "nvidia,tegra20";
......
/dts-v1/; /dts-v1/;
/include/ "tegra30.dtsi" #include "tegra30.dtsi"
/ { / {
model = "NVIDIA Tegra30 Beaver evaluation board"; model = "NVIDIA Tegra30 Beaver evaluation board";
......
/dts-v1/; /dts-v1/;
/include/ "tegra30-cardhu.dtsi" #include "tegra30-cardhu.dtsi"
/* This dts file support the cardhu A02 version of board */ /* This dts file support the cardhu A02 version of board */
......
/dts-v1/; /dts-v1/;
/include/ "tegra30-cardhu.dtsi" #include "tegra30-cardhu.dtsi"
/* This dts file support the cardhu A04 and later versions of board */ /* This dts file support the cardhu A04 and later versions of board */
......
/include/ "tegra30.dtsi" #include "tegra30.dtsi"
/** /**
* This file contains common DT entry for all fab version of Cardhu. * This file contains common DT entry for all fab version of Cardhu.
......
/include/ "skeleton.dtsi" #include "skeleton.dtsi"
/ { / {
compatible = "nvidia,tegra30"; compatible = "nvidia,tegra30";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment