Commit 36dffd8f authored by Shawn Guo's avatar Shawn Guo

ARM: imx: use #include for all device trees

Replace /include/ (dtc) with #include (C pre-processor) for all imx 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 pinctrl settings. Use of those
features will increase the readability of the device tree files.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent a10c22e4
......@@ -10,7 +10,7 @@
*/
/dts-v1/;
/include/ "imx25.dtsi"
#include "imx25.dtsi"
/ {
model = "Ka-Ro TX25";
......
......@@ -10,7 +10,7 @@
*/
/dts-v1/;
/include/ "imx25.dtsi"
#include "imx25.dtsi"
/ {
model = "Freescale i.MX25 Product Development Kit";
......
......@@ -9,7 +9,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
aliases {
......
......@@ -13,7 +13,7 @@
*/
/dts-v1/;
/include/ "imx27.dtsi"
#include "imx27.dtsi"
/ {
model = "Armadeus Systems APF27 module";
......
......@@ -10,7 +10,7 @@
*/
/dts-v1/;
/include/ "imx27.dtsi"
#include "imx27.dtsi"
/ {
model = "Freescale i.MX27 Product Development Kit";
......
......@@ -10,7 +10,7 @@
*/
/dts-v1/;
/include/ "imx27.dtsi"
#include "imx27.dtsi"
/ {
model = "Phytec pcm038";
......
......@@ -9,7 +9,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
aliases {
......
......@@ -10,7 +10,7 @@
*/
/dts-v1/;
/include/ "imx31.dtsi"
#include "imx31.dtsi"
/ {
model = "Buglabs i.MX31 Bug 1.x";
......
......@@ -9,7 +9,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
aliases {
......
......@@ -15,7 +15,7 @@
*/
/dts-v1/;
/include/ "imx51.dtsi"
#include "imx51.dtsi"
/ {
model = "Armadeus Systems APF51 module";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx51.dtsi"
#include "imx51.dtsi"
/ {
model = "Freescale i.MX51 Babbage Board";
......
......@@ -10,7 +10,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
aliases {
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx53.dtsi"
#include "imx53.dtsi"
/ {
model = "Freescale i.MX53 Automotive Reference Design Board";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx53.dtsi"
#include "imx53.dtsi"
/ {
model = "Freescale i.MX53 Evaluation Kit";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx53-tqma53.dtsi"
#include "imx53-tqma53.dtsi"
/ {
model = "TQ MBa53 starter kit";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx53.dtsi"
#include "imx53.dtsi"
/ {
model = "Freescale i.MX53 Quick Start Board";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx53.dtsi"
#include "imx53.dtsi"
/ {
model = "Freescale i.MX53 Smart Mobile Reference Design Board";
......
......@@ -10,7 +10,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
/include/ "imx53.dtsi"
#include "imx53.dtsi"
/ {
model = "TQ TQMa53";
......
......@@ -10,7 +10,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
aliases {
......
......@@ -7,7 +7,7 @@
*
*/
/include/ "imx6qdl.dtsi"
#include "imx6qdl.dtsi"
/ {
cpus {
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx6q.dtsi"
#include "imx6q.dtsi"
/ {
model = "Freescale i.MX6 Quad Armadillo2 Board";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx6q.dtsi"
#include "imx6q.dtsi"
/ {
model = "Freescale i.MX6 Quad SABRE Automotive Board";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx6q.dtsi"
#include "imx6q.dtsi"
/ {
model = "Freescale i.MX6 Quad SABRE Lite Board";
......
......@@ -11,7 +11,7 @@
*/
/dts-v1/;
/include/ "imx6q.dtsi"
#include "imx6q.dtsi"
/ {
model = "Freescale i.MX6Q SABRE Smart Device Board";
......
......@@ -8,7 +8,7 @@
*
*/
/include/ "imx6qdl.dtsi"
#include "imx6qdl.dtsi"
/ {
cpus {
......
......@@ -10,7 +10,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
aliases {
......
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