From: Tixy <tixy-V7l+QrSAdiO1Qrn1Bg8BZw@public.gmane.org>
To: Grant Likely
<grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org
Subject: [PATCH] ARM: device-tree: Add basic device tree support for Beagleboad
Date: Tue, 29 Mar 2011 07:50:47 +0100 [thread overview]
Message-ID: <1301381447-2829-2-git-send-email-tixy@yxit.co.uk> (raw)
In-Reply-To: <1301381447-2829-1-git-send-email-tixy-V7l+QrSAdiO1Qrn1Bg8BZw@public.gmane.org>
From: Jon Medhurst <tixy-V7l+QrSAdiO1Qrn1Bg8BZw@public.gmane.org>
Signed-off-by: Jon Medhurst <tixy-V7l+QrSAdiO1Qrn1Bg8BZw@public.gmane.org>
---
arch/arm/boot/dts/omap3-beagle.dts | 19 +++++++++++++++++++
arch/arm/mach-omap2/board-omap3beagle.c | 6 ++++++
2 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/boot/dts/omap3-beagle.dts
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
new file mode 100644
index 0000000..2bf5967
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-beagle.dts
@@ -0,0 +1,19 @@
+/dts-v1/;
+
+/ {
+ model = "TI OMAP3 BeagleBoard";
+ compatible = "ti,omap3-beagle";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ aliases {
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x80000000 0x10000000>;
+ };
+
+ chosen {
+ };
+};
\ No newline at end of file
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index caf6c8a..09aa467 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -629,6 +629,11 @@ static void __init omap3_beagle_init(void)
beagle_display_init();
}
+static const char *omap3_beagle_dt_match[] __initdata = {
+ "ti,omap3-beagle",
+ NULL
+};
+
MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")
/* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */
.boot_params = 0x80000100,
@@ -637,4 +642,5 @@ MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")
.init_irq = omap3_beagle_init_irq,
.init_machine = omap3_beagle_init,
.timer = &omap_timer,
+ .dt_compat = omap3_beagle_dt_match,
MACHINE_END
--
1.7.2.5
prev parent reply other threads:[~2011-03-29 6:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 6:50 [PATCH] ARM: device-tree: Add basic device tree support for Beagleboad Tixy
[not found] ` <1301381447-2829-1-git-send-email-tixy-V7l+QrSAdiO1Qrn1Bg8BZw@public.gmane.org>
2011-03-29 6:50 ` Tixy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1301381447-2829-2-git-send-email-tixy@yxit.co.uk \
--to=tixy-v7l+qrsadio1qrn1bg8bzw@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).