From patchwork Thu Feb 14 11:31:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inderpal Singh X-Patchwork-Id: 14796 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 573FD23E2E for ; Thu, 14 Feb 2013 11:31:16 +0000 (UTC) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by fiordland.canonical.com (Postfix) with ESMTP id 033C9A1830B for ; Thu, 14 Feb 2013 11:31:15 +0000 (UTC) Received: by mail-ve0-f181.google.com with SMTP id d10so2001434vea.12 for ; Thu, 14 Feb 2013 03:31:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=RM3tQfRrhNAPt9DVi36Ut/jdAo1NXmj9p1J5gS8oq9Q=; b=nRS+eAGjCsEapO+N79lrMzgL/XYeDu8VaIUp0UeTLVbGHMM6ud8CocHL2SkEw/ex9V Es7cp8hbt+jZmGHYwlEN4oBuPdfHtkM6q7KfrUDLAkOtcU4KUQLUn7hPzFdgFhqdd/qM ov4DzNiPSixuABXThze1r/wEwoZisY5b+7rfpSYLZ2EDsletviGLkfNtNqvo0zEoeQ2b LqF304W0le4z8yypMcbSFyKwYY+b/BnIcMPNuwUQQLFQrwaGqNV9uljYtYBMMq/hxpqp 9z5bLfK5ZIAiP6Ab0T6fHgEIoKIn9WjoPdT8+xhbfEuMlDGkwqMZm+5A7PslF5povJ+V drvg== X-Received: by 10.52.38.163 with SMTP id h3mr29878424vdk.35.1360841475470; Thu, 14 Feb 2013 03:31:15 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.221.4.5 with SMTP id oa5csp254685vcb; Thu, 14 Feb 2013 03:31:15 -0800 (PST) X-Received: by 10.68.251.167 with SMTP id zl7mr3032015pbc.116.1360841474630; Thu, 14 Feb 2013 03:31:14 -0800 (PST) Received: from mail-pb0-f46.google.com (mail-pb0-f46.google.com [209.85.160.46]) by mx.google.com with ESMTPS id ol9si1056360pbb.17.2013.02.14.03.31.14 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Feb 2013 03:31:14 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.46 is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) client-ip=209.85.160.46; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.46 is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) smtp.mail=inderpal.singh@linaro.org Received: by mail-pb0-f46.google.com with SMTP id uo15so132183pbc.33 for ; Thu, 14 Feb 2013 03:31:14 -0800 (PST) X-Received: by 10.66.72.198 with SMTP id f6mr3027911pav.42.1360841474216; Thu, 14 Feb 2013 03:31:14 -0800 (PST) Received: from inder-ubuntu.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id q4sm1057264pbs.32.2013.02.14.03.31.11 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Feb 2013 03:31:13 -0800 (PST) From: Inderpal Singh To: u-boot@lists.denx.de Cc: patches@linaro.org Subject: [PATCH 2/2] Exynos5: Arndale: Add support for exynos5250 based arndale board. Date: Thu, 14 Feb 2013 17:01:01 +0530 Message-Id: <1360841461-18028-3-git-send-email-inderpal.singh@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360841461-18028-1-git-send-email-inderpal.singh@linaro.org> References: <1360841461-18028-1-git-send-email-inderpal.singh@linaro.org> X-Gm-Message-State: ALoCoQm0pUtl9cTR9fD+xSxYvBHUR6rXJtKP3m3h4BXLcJnnOBVk6I+a1Wz/UqhvSY9SHYc0f+E+ The Arndale board is based on samsung's exynos5250 SOC. This patch adds a initial config and dts file. Signed-off-by: Inderpal Singh --- This depends on the first 6 patches from Amar at [1] [1] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/151523 board/samsung/dts/exynos5250-arndale.dts | 36 +++++++++++++++++++++++++++ boards.cfg | 1 + include/configs/arndale.h | 39 ++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 board/samsung/dts/exynos5250-arndale.dts create mode 100644 include/configs/arndale.h 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 0507a9c..314ac26 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 + +#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 */