From patchwork Tue Feb 26 05:13:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inderpal Singh X-Patchwork-Id: 15084 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 9E2BC23DFE for ; Tue, 26 Feb 2013 05:13:37 +0000 (UTC) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id 46F3EA19437 for ; Tue, 26 Feb 2013 05:13:37 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id fo13so2204952vcb.25 for ; Mon, 25 Feb 2013 21:13:36 -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=wC5j+Qjv+8IePFBvze1jTnzeIA267Wsf5YbMfnUWJy0=; b=fnsSpedPnVd1IGiWaXUkUoARz0oXgY/62Ui3ecws6zc4iTGIeKn4HmsGeqkSsiez/H HJcmfSHbltqGytQ/3ZxH/OWODmByFa8+0/6w0BB3aLkSkAiEElqZecyQ/3qCNgfwil62 lLIM3IngO3msE4YsebBbSxMYSJ4t+zJ3yDbENqhB/qJMGS+qnSNAFxOT+htt4wd6tIex Wbs0uF76usT+6k6bOSV8CJwh/uK3MI9k2xv+NlElLmAalNx0hUQ+w6D+O4VGrACVBDtT 3uhQtDpx8jgCk4CGDcOC9WUWBN7sJxoovFAJoyHCirID9qHdPE/JLl/eTbOFEI5Y3YJi Et2A== X-Received: by 10.52.88.237 with SMTP id bj13mr9597898vdb.75.1361855616728; Mon, 25 Feb 2013 21:13:36 -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.58.145.101 with SMTP id st5csp96214veb; Mon, 25 Feb 2013 21:13:36 -0800 (PST) X-Received: by 10.68.42.9 with SMTP id j9mr21890584pbl.142.1361855615654; Mon, 25 Feb 2013 21:13:35 -0800 (PST) Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) by mx.google.com with ESMTPS id zs4si14239417pbc.72.2013.02.25.21.13.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Feb 2013 21:13:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.51 is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) client-ip=209.85.160.51; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.51 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-f51.google.com with SMTP id un15so2119289pbc.38 for ; Mon, 25 Feb 2013 21:13:35 -0800 (PST) X-Received: by 10.67.1.74 with SMTP id be10mr22537273pad.172.1361855615201; Mon, 25 Feb 2013 21:13:35 -0800 (PST) Received: from inder-ubuntu.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id 1sm15121500pba.32.2013.02.25.21.13.32 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Feb 2013 21:13:34 -0800 (PST) From: Inderpal Singh To: u-boot@lists.denx.de Cc: chander.kashyap@linaro.org, patches@linaro.org Subject: [PATCH v2 2/2] Exynos5: Arndale: Add support for exynos5250 based arndale board. Date: Tue, 26 Feb 2013 10:43:18 +0530 Message-Id: <1361855598-23975-3-git-send-email-inderpal.singh@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1361855598-23975-1-git-send-email-inderpal.singh@linaro.org> References: <1361855598-23975-1-git-send-email-inderpal.singh@linaro.org> X-Gm-Message-State: ALoCoQm1eesFYRTH7X76MsPJMqaoY4v1Z1f0h6DOgs0ag86DILEoCRcZ/ISyEqeZEUA5qKV1lvrg The Arndale board is based on samsung's exynos5250 SOC. This patch adds a initial config and dts file. Signed-off-by: Inderpal Singh Acked-by: Chander Kashyap --- 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 diff --git a/MAINTAINERS b/MAINTAINERS index 45e2dd4..da0dd38 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -736,6 +736,10 @@ Chander Kashyap SMDKV310 ARM ARMV7 (EXYNOS4210 SoC) SMDK5250 ARM ARMV7 (EXYNOS5250 SoC) +Inderpal Singh + + arndale ARM ARMV7 (EXYNOS5250 SoC) + Lukasz Majewski 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 + +#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 */