summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-11 14:52:59 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-11 15:48:03 +0100
commit23866a3def0851fa19da32212658c51cf89451cc (patch)
tree20e4b5d5588d60205e4c847465a451393aad6058 /arch/arm/boot/dts/uniphier-pxs2-gentil.dts
parentARM: dts: uniphier: fix no unit name warnings (diff)
downloadlinux-23866a3def0851fa19da32212658c51cf89451cc.tar.xz
linux-23866a3def0851fa19da32212658c51cf89451cc.zip
ARM: dts: uniphier: move memory node below aliases node
These UniPhier DT files are fine as long as they are compiled in the Linux build system. It is true that Linux is the biggest user of DT, but DT is project neutral from its concept. DT files are often re-used for other projects. Especially for the UniPhier platform, these DT files are re-used for U-Boot as well. If I feed these DT files to the FDTGREP tool in U-Boot, it complains about the node order. FDTGREP spl/u-boot-spl.dtb Error at 'fdt_find_regions': FDT_ERR_BADLAYOUT /aliases node must come before all other nodes Given that DT is not very sensitive to the order of nodes, this is a problem of FDTGREP. I filed a bug report a year ago, but it has not been fixed yet. Differentiating DT is painful. So, I am up-streaming the requirement from the down-stream project. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/boot/dts/uniphier-pxs2-gentil.dts')
-rw-r--r--arch/arm/boot/dts/uniphier-pxs2-gentil.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
index e26ed592d25e..fd83e288940a 100644
--- a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
+++ b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
@@ -51,11 +51,6 @@
compatible = "socionext,uniphier-pxs2-gentil",
"socionext,uniphier-pxs2";
- memory@80000000 {
- device_type = "memory";
- reg = <0x80000000 0x80000000>;
- };
-
chosen {
stdout-path = "serial0:115200n8";
};
@@ -70,6 +65,11 @@
i2c5 = &i2c5;
i2c6 = &i2c6;
};
+
+ memory@80000000 {
+ device_type = "memory";
+ reg = <0x80000000 0x80000000>;
+ };
};
&serial2 {