arm/dts: Add support for OMAP3 Beagle board
authorBenoit Cousson <b-cousson@ti.com>
Wed, 13 Jul 2011 20:14:54 +0000 (01:44 +0530)
committerBenoit Cousson <b-cousson@ti.com>
Tue, 4 Oct 2011 20:27:03 +0000 (22:27 +0200)
Add OMAP3 beagleboard DTS file to use the omap3.dtsi SoC file.

Add a default bootargs line to allow a boot from RAMDISK.

Add memory node information.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: G, Manjunath Kondaiah <manjugk@ti.com>
arch/arm/boot/dts/omap3-beagle.dts [new file with mode: 0644]

diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
new file mode 100644 (file)
index 0000000..9486be6
--- /dev/null
@@ -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/ "omap3.dtsi"
+
+/ {
+       model = "TI OMAP3 BeagleBoard";
+       compatible = "ti,omap3-beagle", "ti,omap3";
+
+       /*
+        * 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 earlyprintk";
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x80000000 0x20000000>; /* 512 MB */
+       };
+};