diff options
author | Benoit Cousson <b-cousson@ti.com> | 2011-08-16 15:57:51 +0200 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2011-10-04 22:26:59 +0200 |
commit | 38eb2ae65859b8c1bbb0cd07a173ad19de39b746 (patch) | |
tree | b7392cd46a3778bde419e2575ee808cd71511621 | |
parent | d9fda07af7fbb989cf68ba7d2f370320f05664d8 (diff) | |
download | linux-stable-38eb2ae65859b8c1bbb0cd07a173ad19de39b746.tar.gz linux-stable-38eb2ae65859b8c1bbb0cd07a173ad19de39b746.tar.bz2 linux-stable-38eb2ae65859b8c1bbb0cd07a173ad19de39b746.zip |
arm/dts: Add support for OMAP4 PandaBoard
Based on the original omap4-panda.dts file from Manju.
http://www.spinics.net/lists/linux-omap/msg55836.html
Add memory information and a default bootargs to allow
a boot from RAMDISK.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: G, Manjunath Kondaiah <manjugk@ti.com>
-rw-r--r-- | arch/arm/boot/dts/omap4-panda.dts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts new file mode 100644 index 000000000000..c7026578ce7d --- /dev/null +++ b/arch/arm/boot/dts/omap4-panda.dts @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +/dts-v1/; + +/include/ "omap4.dtsi" + +/ { + model = "TI OMAP4 PandaBoard"; + compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; + + /* + * Since the initial device tree board file does not create any + * devices (MMC, network...), the only way to boot is to provide a + * ramdisk. + */ + chosen { + bootargs = "root=/dev/ram0 rw console=ttyO2,115200n8 initrd=0x81600000,20M ramdisk_size=20480 no_console_suspend debug"; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1 GB */ + }; +}; |