diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-03 00:07:21 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-16 20:46:13 +0100 |
commit | 5d0769f063c87ff4a3d123e4e256f5b19c9e68bd (patch) | |
tree | e1b07a441f4879ffcf4fbb4b9534681e1daec8a3 | |
parent | ARM: ux500: combine the board init functions for DT boot (diff) | |
download | linux-5d0769f063c87ff4a3d123e4e256f5b19c9e68bd.tar.xz linux-5d0769f063c87ff4a3d123e4e256f5b19c9e68bd.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/db8500.dtsi | 21 | ||||
-rw-r--r-- | arch/arm/boot/dts/snowball.dts | 8 |
2 files changed, 22 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi new file mode 100644 index 000000000000..50c84b2e20e2 --- /dev/null +++ b/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; + }; +}; diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts index ebcff9a9b87f..0ea947023556 100644 --- a/arch/arm/boot/dts/snowball.dts +++ b/arch/arm/boot/dts/snowball.dts @@ -10,22 +10,16 @@ */ /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; }; }; |