提交 1bd0bd49 编写于 作者: S 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: NStephen Warren <swarren@nvidia.com>
上级 b4dd3e0c
/dts-v1/;
/include/ "tegra114.dtsi"
#include "tegra114.dtsi"
/ {
model = "NVIDIA Tegra114 Dalmore evaluation board";
......
/dts-v1/;
/include/ "tegra114.dtsi"
#include "tegra114.dtsi"
/ {
model = "NVIDIA Tegra114 Pluto evaluation board";
......
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
compatible = "nvidia,tegra114";
......
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Toradex Colibri T20 512MB";
......
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Tegra20 Harmony evaluation board";
......
/dts-v1/;
/include/ "tegra20-colibri-512.dtsi"
#include "tegra20-colibri-512.dtsi"
/ {
model = "Toradex Colibri T20 512MB on Iris";
......
/dts-v1/;
/include/ "tegra20-tamonten.dtsi"
#include "tegra20-tamonten.dtsi"
/ {
model = "Avionic Design Medcom-Wide board";
......
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Toshiba AC100 / Dynabook AZ";
......
/dts-v1/;
/include/ "tegra20-tamonten.dtsi"
#include "tegra20-tamonten.dtsi"
/ {
model = "Avionic Design Plutux board";
......
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Seaboard";
......
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Avionic Design Tamonten SOM";
......
/dts-v1/;
/include/ "tegra20-tamonten.dtsi"
#include "tegra20-tamonten.dtsi"
/ {
model = "Avionic Design Tamonten Evaluation Carrier";
......
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Compulab TrimSlice board";
......
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Tegra20 Ventana evaluation board";
......
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Tegra20 Whistler evaluation board";
......
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
compatible = "nvidia,tegra20";
......
/dts-v1/;
/include/ "tegra30.dtsi"
#include "tegra30.dtsi"
/ {
model = "NVIDIA Tegra30 Beaver evaluation board";
......
/dts-v1/;
/include/ "tegra30-cardhu.dtsi"
#include "tegra30-cardhu.dtsi"
/* This dts file support the cardhu A02 version of board */
......
/dts-v1/;
/include/ "tegra30-cardhu.dtsi"
#include "tegra30-cardhu.dtsi"
/* 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.
......
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
compatible = "nvidia,tegra30";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册