Patchwork [U-Boot,v2,2/2] Exynos5: Arndale: Add support for exynos5250 based arndale board.

login
register
mail settings
Submitter Inderpal Singh
Date Feb. 26, 2013, 5:13 a.m.
Message ID <1361855598-23975-3-git-send-email-inderpal.singh@linaro.org>
Download mbox | patch
Permalink /patch/223111/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Inderpal Singh - Feb. 26, 2013, 5:13 a.m.
The Arndale board is based on samsung's exynos5250 SOC.
This patch adds a initial config and dts file.

Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Acked-by: Chander Kashyap <chander.kashyap@linaro.org>
---
This depends on the first 6 patches from Amar at [1]

[1] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/151523

 MAINTAINERS                              |    4 +++
 board/samsung/dts/exynos5250-arndale.dts |   36 +++++++++++++++++++++++++++
 boards.cfg                               |    1 +
 include/configs/arndale.h                |   39 ++++++++++++++++++++++++++++++
 4 files changed, 80 insertions(+)
 create mode 100644 board/samsung/dts/exynos5250-arndale.dts
 create mode 100644 include/configs/arndale.h

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 45e2dd4..da0dd38 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -736,6 +736,10 @@  Chander Kashyap <k.chander@samsung.com>
 	SMDKV310		ARM ARMV7 (EXYNOS4210 SoC)
 	SMDK5250		ARM ARMV7 (EXYNOS5250 SoC)
 
+Inderpal Singh <inderpal.singh@linaro.org>
+
+	arndale			ARM ARMV7 (EXYNOS5250 SoC)
+
 Lukasz Majewski <l.majewski@samsung.com>
 
 	trats			ARM ARMV7 (EXYNOS4210 SoC)
diff --git a/board/samsung/dts/exynos5250-arndale.dts b/board/samsung/dts/exynos5250-arndale.dts
new file mode 100644
index 0000000..9b4d6b2
--- /dev/null
+++ b/board/samsung/dts/exynos5250-arndale.dts
@@ -0,0 +1,36 @@ 
+/*
+ * SAMSUNG Arndale board device tree source
+ *
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.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/ ARCH_CPU_DTS
+
+/ {
+	model = "SAMSUNG Arndale board based on EXYNOS5250";
+	compatible = "samsung,arndale", "samsung,exynos5250";
+
+	mmc@12200000 {
+		samsung,bus-width = <8>;
+		samsung,timing = <1 3 3>;
+	};
+
+	mmc@12210000 {
+		status = "disabled";
+	};
+
+	mmc@12220000 {
+		samsung,bus-width = <4>;
+		samsung,timing = <1 2 3>;
+	};
+
+	mmc@12230000 {
+		status = "disabled";
+	};
+};
diff --git a/boards.cfg b/boards.cfg
index b1319aa..2017ce0 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -287,6 +287,7 @@  smdkc100                     arm         armv7       smdkc100            samsung
 origen			     arm	 armv7	     origen		 samsung	exynos
 s5pc210_universal            arm         armv7       universal_c210      samsung        exynos
 smdk5250		     arm	 armv7	     smdk5250		 samsung	exynos
+arndale			     arm	 armv7	     smdk5250		 samsung	exynos
 smdkv310		     arm	 armv7	     smdkv310		 samsung	exynos
 trats                        arm         armv7       trats               samsung        exynos
 harmony                      arm         armv7:arm720t harmony           nvidia         tegra20
diff --git a/include/configs/arndale.h b/include/configs/arndale.h
new file mode 100644
index 0000000..c71370e
--- /dev/null
+++ b/include/configs/arndale.h
@@ -0,0 +1,39 @@ 
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ *
+ * Configuration settings for the SAMSUNG Arndale board.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __CONFIG_ARNDALE_H
+#define __CONFIG_ARNDALE_H
+
+#include <configs/exynos5250-dt.h>
+
+#undef CONFIG_DEFAULT_DEVICE_TREE
+#define CONFIG_DEFAULT_DEVICE_TREE	exynos5250-arndale
+
+#define CONFIG_SERIAL2
+#define CONFIG_SYS_PROMPT		"Arndale # "
+#define CONFIG_IDENT_STRING		" for Arndale"
+
+#define CONFIG_ENV_IS_IN_MMC
+
+#endif	/* __CONFIG_ARNDALE_H */