From patchwork Wed Aug 27 09:44:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naveen Krishna Chatradhi X-Patchwork-Id: 4786891 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BBE6BC0338 for ; Wed, 27 Aug 2014 09:48:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E7AF82018B for ; Wed, 27 Aug 2014 09:48:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 028A12017E for ; Wed, 27 Aug 2014 09:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932788AbaH0Jsy (ORCPT ); Wed, 27 Aug 2014 05:48:54 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:33305 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932642AbaH0Jsw (ORCPT ); Wed, 27 Aug 2014 05:48:52 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAY002X1LXFIT00@mailout2.samsung.com>; Wed, 27 Aug 2014 18:48:51 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id B5.5B.04442.389ADF35; Wed, 27 Aug 2014 18:48:51 +0900 (KST) X-AuditID: cbfee690-f79ce6d00000115a-06-53fda983e5b9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 84.00.04943.389ADF35; Wed, 27 Aug 2014 18:48:51 +0900 (KST) Received: from chnaveen-ubuntu.sisodomain.com ([107.108.83.161]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NAY00JB9LWV0ZA0@mmp2.samsung.com>; Wed, 27 Aug 2014 18:48:50 +0900 (KST) From: Naveen Krishna Chatradhi To: catalin.marinas@arm.com Cc: naveenkrishna.ch@gmail.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, cpgs@samsung.com, Rob Herring Subject: [PATCH 12/14] arm64: dts: add Exynos7 based Espresso board dts file Date: Wed, 27 Aug 2014 15:14:19 +0530 Message-id: <1409132660-1898-4-git-send-email-ch.naveen@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1409132660-1898-1-git-send-email-ch.naveen@samsung.com> References: <1409132660-1898-1-git-send-email-ch.naveen@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsWyRsSkWrd55d9gg9Y3Ahbvl/UwWrw8pGkx /8g5VotNj6+xWsw4v4/JYtG2/8wW//fsYHdg91gzbw2jx85Zd9k9Nq3qZPPYvKTeo2/LKkaP z5vkAtiiuGxSUnMyy1KL9O0SuDJeTa8sWCtW8WXpcsYGxnlCXYycHBICJhL9T9czQ9hiEhfu rWfrYuTiEBJYyihxe+9fJpiiMzfmsYPYQgLTGSWap0hDFPUzSUy8eJgVJMEmYCZxcNFqsCIR AWmJ1T/3soIUMQvsYJT48fYYWJGwgI/E/t+TwdaxCKhKnP+3CMzmFXCRuHvyI9BqDqBtChJz JtmAhDkFXCXOrl7LCLHYReLQ9oVgMyUEFrFLPJjYxAIxR0Di2+RDLBC9shKbDkB9IylxcMUN lgmMwgsYGVYxiqYWJBcUJ6UXmegVJ+YWl+al6yXn525iBIb66X/PJuxgvHfA+hCjAAejEg/v hwV/goVYE8uKK3MPMZ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il0GfhrvMBX/W9RVM rzwbHyT2/PnBOrXhy7szJ6rVkh7cND+ru+dlxjeRLTKpi09LXX2hxFKckWioxVxUnAgAFbVd 17oCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds initial dts file for the Espresso board based on Exynos7 from Samsung. Signed-off-by: Naveen Krishna Chatradhi Cc: Rob Herring Cc: Catalin Marinas --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/exynos7-espresso.dts | 69 ++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos7-espresso.dts diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index c52bdb0..d160de1 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -1,5 +1,6 @@ dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb foundation-v8.dtb dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb +dtb-$(CONFIG_ARCH_EXYNOS7) += exynos7-espresso.dtb targets += dtbs targets += $(dtb-y) diff --git a/arch/arm64/boot/dts/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos7-espresso.dts new file mode 100644 index 0000000..e35e83c --- /dev/null +++ b/arch/arm64/boot/dts/exynos7-espresso.dts @@ -0,0 +1,69 @@ +/* + * SAMSUNG Espresso board device tree source + * + * Copyright (c) 2014 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 +#include "exynos7.dtsi" + +/ { + model = "Samsung ESPRESSO board based on EXYNOS7"; + compatible = "samsung,espresso", "samsung,exynos7"; + + chosen { + bootargs = "console=ttySAC2,115200n8 root=/dev/ram0 ramdisk=16384 initrd=0x42000000,16M init=/linuxrc"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0xC0000000>; + }; + + mmc@15740000 { + status = "okay"; + num-slots = <1>; + broken-cd; + caps2-mmc-hs200-1_8v; + supports-highspeed; + non-removable; + card-detect-delay = <200>; + clock-frequency = <800000000>; + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-sdr-timing = <0 4>; + samsung,dw-mshc-ddr-timing = <0 2>; + pinctrl-names = "default"; + pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_rdqs &sd0_bus1 &sd0_bus4 &sd0_bus8>; + bus-width = <8>; + + slot@0 { + reg = <0>; + bus-width = <8>; + }; + }; + + mmc@15560000 { + num-slots = <1>; + supports-highspeed; + card-detect-delay = <200>; + clock-frequency = <400000000>; + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-sdr-timing = <2 3>; + samsung,dw-mshc-ddr-timing = <1 2>; + pinctrl-names = "default"; + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; + bus-width = <4>; + + slot@0 { + reg = <0>; + disable-wp; + bus-width = <4>; + }; + }; +};