ARM: ux500: split dts file for snowball into generic part
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Mar 2012 23:07:21 +0000 (23:07 +0000)
committerArnd Bergmann <arnd@arndb.de>
Fri, 16 Mar 2012 19:46:13 +0000 (19:46 +0000)
db8500.dtsi can be used by all systems with a db8500 or
db9500 SoC, while snowball.dts is board specific.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/db8500.dtsi [new file with mode: 0644]
arch/arm/boot/dts/snowball.dts

diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi
new file mode 100644 (file)
index 0000000..50c84b2
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2012 Linaro Ltd
+ *
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/include/ "skeleton.dtsi"
+
+/ {
+       soc-u9500 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "simple-bus";
+               ranges;
+       };
+};
index ebcff9a9b87fb0fe581c5f4e5dd83bf4f05d96e1..0ea947023556a247f2c55f914fd1ca9b4a0b5711 100644 (file)
  */
 
 /dts-v1/;
+/include/ "db8500.dtsi"
 
 / {
        model = "Calao Systems Snowball platform with device tree";
        compatible = "calaosystems,snowball-a9500";
 
-       #address-cells = <1>;
-       #size-cells = <1>;
-
        memory {
                reg = <0x00000000 0x20000000>;
        };
 
        soc-u9500 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "simple-bus";
-               ranges;
        };
 };