Message ID | 1363966065-2478-4-git-send-email-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Mar 22, 2013 at 4:27 PM, Lee Jones <lee.jones@linaro.org> wrote: > This is a skeleton DTS file which only enables serial. Just using > this simple file yields a terminal when booting u8540. > > Signed-off-by: Lee Jones <lee.jones@linaro.org> There is a file for ccu9540.dts so please rename this to ccu8540.dts for consistence. (Apart from that it looks all right, a bit messy to see which files belong to the ST-Ericsson platforms actually, but I heard the dts folks are working on per-vendor subdirs so lets wait for that.) Yours, Linus Wallei
diff --git a/arch/arm/boot/dts/u8540.dts b/arch/arm/boot/dts/u8540.dts new file mode 100644 index 0000000..02e8e1a --- /dev/null +++ b/arch/arm/boot/dts/u8540.dts @@ -0,0 +1,36 @@ +/* + * Copyright 2013 ST-Ericsson AB + * + * 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 + */ + +/dts-v1/; +/include/ "dbx5x0.dtsi" + +/ { + model = "ST-Ericsson U8540 platform with Device Tree"; + compatible = "st-ericsson,u8540"; + + memory { + reg = <0x00000000 0x20000000>; + }; + + soc-u9500 { + uart@80120000 { + status = "okay"; + }; + + uart@80121000 { + status = "okay"; + }; + + uart@80007000 { + status = "okay"; + }; + }; +};
This is a skeleton DTS file which only enables serial. Just using this simple file yields a terminal when booting u8540. Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/boot/dts/u8540.dts | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 arch/arm/boot/dts/u8540.dts