Procházet zdrojové kódy

ARM: ux500: split dts file for snowball into generic part

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>
Arnd Bergmann před 13 roky
rodič
revize
5d0769f063
2 změnil soubory, kde provedl 22 přidání a 7 odebrání
  1. 21 0
      arch/arm/boot/dts/db8500.dtsi
  2. 1 7
      arch/arm/boot/dts/snowball.dts

+ 21 - 0
arch/arm/boot/dts/db8500.dtsi

@@ -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;
+	};
+};

+ 1 - 7
arch/arm/boot/dts/snowball.dts

@@ -10,22 +10,16 @@
  */
  */
 
 
 /dts-v1/;
 /dts-v1/;
+/include/ "db8500.dtsi"
 
 
 / {
 / {
 	model = "Calao Systems Snowball platform with device tree";
 	model = "Calao Systems Snowball platform with device tree";
 	compatible = "calaosystems,snowball-a9500";
 	compatible = "calaosystems,snowball-a9500";
 
 
-	#address-cells = <1>;
-	#size-cells = <1>;
-
 	memory {
 	memory {
 		reg = <0x00000000 0x20000000>;
 		reg = <0x00000000 0x20000000>;
 	};
 	};
 
 
 	soc-u9500 {
 	soc-u9500 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		compatible = "simple-bus";
-		ranges;
 	};
 	};
 };
 };