diff mbox

[2/5] arm: mediatek: add dts for 8127 Moose board

Message ID 1409874660-8710-3-git-send-email-srv_yingjoe.chen@mediatek.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yingjoe Chen Sept. 4, 2014, 11:50 p.m. UTC
From: "Joe.C" <yingjoe.chen@mediatek.com>

Moose is a tablet evalutation board based on MT8127 SoC.

Signed-off-by: Joe.C <yingjoe.chen@mediatek.com>
---
 arch/arm/boot/dts/mt8127-moose.dts | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 arch/arm/boot/dts/mt8127-moose.dts

Comments

Sascha Hauer Sept. 8, 2014, 7:23 a.m. UTC | #1
On Fri, Sep 05, 2014 at 07:50:57AM +0800, Joe.C wrote:
> From: "Joe.C" <yingjoe.chen@mediatek.com>
> 
> Moose is a tablet evalutation board based on MT8127 SoC.
> 
> Signed-off-by: Joe.C <yingjoe.chen@mediatek.com>
> ---
>  arch/arm/boot/dts/mt8127-moose.dts | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 arch/arm/boot/dts/mt8127-moose.dts

You could add this and the other dts files to
dtb-$(CONFIG_ARCH_MEDIATEK) so the Mediatek device trees are compile
during the build

Sascha
diff mbox

Patch

diff --git a/arch/arm/boot/dts/mt8127-moose.dts b/arch/arm/boot/dts/mt8127-moose.dts
new file mode 100644
index 0000000..715e23c
--- /dev/null
+++ b/arch/arm/boot/dts/mt8127-moose.dts
@@ -0,0 +1,24 @@ 
+/*
+ * Copyright (c) 2014 MediaTek Inc.
+ * Author: Joe.C <yingjoe.chen@mediatek.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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+/dts-v1/;
+#include "mt8127.dtsi"
+
+/ {
+	model = "mt8127-moose";
+
+	memory {
+		reg = <0 0x80000000 0 0x40000000>;
+	};
+};