mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
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: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
parent
b4dd3e0c0c
commit
1bd0bd499d
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra114.dtsi"
|
#include "tegra114.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NVIDIA Tegra114 Dalmore evaluation board";
|
model = "NVIDIA Tegra114 Dalmore evaluation board";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra114.dtsi"
|
#include "tegra114.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NVIDIA Tegra114 Pluto evaluation board";
|
model = "NVIDIA Tegra114 Pluto evaluation board";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/include/ "skeleton.dtsi"
|
#include "skeleton.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "nvidia,tegra114";
|
compatible = "nvidia,tegra114";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Toradex Colibri T20 512MB";
|
model = "Toradex Colibri T20 512MB";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NVIDIA Tegra20 Harmony evaluation board";
|
model = "NVIDIA Tegra20 Harmony evaluation board";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/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";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20-tamonten.dtsi"
|
#include "tegra20-tamonten.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Avionic Design Medcom-Wide board";
|
model = "Avionic Design Medcom-Wide board";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Toshiba AC100 / Dynabook AZ";
|
model = "Toshiba AC100 / Dynabook AZ";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20-tamonten.dtsi"
|
#include "tegra20-tamonten.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Avionic Design Plutux board";
|
model = "Avionic Design Plutux board";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NVIDIA Seaboard";
|
model = "NVIDIA Seaboard";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Avionic Design Tamonten SOM";
|
model = "Avionic Design Tamonten SOM";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20-tamonten.dtsi"
|
#include "tegra20-tamonten.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Avionic Design Tamonten Evaluation Carrier";
|
model = "Avionic Design Tamonten Evaluation Carrier";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Compulab TrimSlice board";
|
model = "Compulab TrimSlice board";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NVIDIA Tegra20 Ventana evaluation board";
|
model = "NVIDIA Tegra20 Ventana evaluation board";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra20.dtsi"
|
#include "tegra20.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NVIDIA Tegra20 Whistler evaluation board";
|
model = "NVIDIA Tegra20 Whistler evaluation board";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/include/ "skeleton.dtsi"
|
#include "skeleton.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "nvidia,tegra20";
|
compatible = "nvidia,tegra20";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "tegra30.dtsi"
|
#include "tegra30.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NVIDIA Tegra30 Beaver evaluation board";
|
model = "NVIDIA Tegra30 Beaver evaluation board";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/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 */
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/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 */
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/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.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/include/ "skeleton.dtsi"
|
#include "skeleton.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "nvidia,tegra30";
|
compatible = "nvidia,tegra30";
|
||||||
|
Loading…
Reference in New Issue
Block a user