Commit bd7aff03 authored by Linus Walleij's avatar Linus Walleij Committed by Sudeep Holla

ARM: dts: vexpress: Restructure motherboard includes

It is a bit unorthodox to just include a file in the middle of a another
DTS file, it breaks the pattern from other device trees and also makes
it really hard to reference things across the files with phandles.

Restructure the include for the Versatile Express motherboards to happen
at the top of the file, reference the target nodes directly, and indent
the motherboard .dtsi files to reflect their actual depth in the
hierarchy.

This is a purely syntactic change that result in the same DTB files from
the DTS/DTSI files.

Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Mali DP Maintainers <malidp@foss.arm.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 60cc43fc
This diff is collapsed.
This diff is collapsed.
......@@ -9,6 +9,7 @@
*/
/dts-v1/;
#include "vexpress-v2m-rs1.dtsi"
/ {
model = "V2P-CA15";
......@@ -278,8 +279,6 @@ smb@8000000 {
<0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m-rs1.dtsi"
};
site2: hsb@40000000 {
......
......@@ -9,6 +9,7 @@
*/
/dts-v1/;
#include "vexpress-v2m-rs1.dtsi"
/ {
model = "V2P-CA15_CA7";
......@@ -584,7 +585,7 @@ etm2_out_port: endpoint {
};
};
smb@8000000 {
smb: smb@8000000 {
compatible = "simple-bus";
#address-cells = <2>;
......@@ -641,8 +642,6 @@ smb@8000000 {
<0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m-rs1.dtsi"
};
site2: hsb@40000000 {
......
......@@ -9,6 +9,7 @@
*/
/dts-v1/;
#include "vexpress-v2m-rs1.dtsi"
/ {
model = "V2P-CA5s";
......@@ -191,7 +192,7 @@ temp-dcc {
};
};
smb@8000000 {
smb: smb@8000000 {
compatible = "simple-bus";
#address-cells = <2>;
......@@ -248,8 +249,6 @@ smb@8000000 {
<0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m-rs1.dtsi"
};
site2: hsb@40000000 {
......
......@@ -9,6 +9,7 @@
*/
/dts-v1/;
#include "vexpress-v2m.dtsi"
/ {
model = "V2P-CA9";
......@@ -301,7 +302,7 @@ power-vd10-s3 {
};
};
smb@4000000 {
smb: smb@4000000 {
compatible = "simple-bus";
#address-cells = <2>;
......@@ -357,8 +358,6 @@ smb@4000000 {
<0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m.dtsi"
};
site2: hsb@e0000000 {
......
......@@ -13,6 +13,7 @@
/dts-v1/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "vexpress-v2m-rs1.dtsi"
/ {
model = "V2F-1XV7 Cortex-A53x2 SMM";
......@@ -129,7 +130,7 @@ temp-fpga {
};
};
smb@8000000 {
smb: smb@8000000 {
compatible = "simple-bus";
#address-cells = <2>;
......@@ -186,7 +187,5 @@ smb@8000000 {
<0 0 40 &gic GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
<0 0 41 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
<0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
/include/ "vexpress-v2m-rs1.dtsi"
};
};
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