From patchwork Fri Sep 7 07:47:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 146187 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp852677ljw; Fri, 7 Sep 2018 00:47:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZrbXHNeNnD7fTAquqok/vgGj0OkxkvnbonrPPCKv5th5PIslh5CCAunxxuxM/w1xVgXFo0 X-Received: by 2002:a17:902:6b05:: with SMTP id o5-v6mr6690494plk.338.1536306442179; Fri, 07 Sep 2018 00:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536306442; cv=none; d=google.com; s=arc-20160816; b=xY4jIN6GMWnPX8BNPzi8ELZaS/9SLrj0BMqymDRQLo/OEQr2iti6QT+h3uie8fpjsH gHoR0tYa9WIdPo5Qik149y688NgRT5toMJTRt6ncaFduL+m5LJx0S2bhGXI+S9T8Wcd9 VqlzQ/6boYSTclVdS+eyJs8I9z2QHmofTMPk2wO3DQcew6ae9K7eyei6WGR7/DDCejwG HlCk5RFBCuYAPprzz4aqzT4ceoNUX1IVPs55lVSbClyWhqtOWMUBcbeHIRbniw0mqoZF dh4B8/pNuoG+vvts2R4s/Ule41ywwm7G+syqxIeWQho0f2xbDPwuC3Ln2iGj/W4Qns1/ 86hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=NY+FJyypwLXUZsEC9dXuVZPKZQgu89M0BqcaxdwRK2M=; b=t4XbM156h5d7xcimr0931oFg6uet+GxAiwFWiU2UqicD7hdA1Nt5gCxj6TemPY1Obg IFCxR6nJ0kBwKpVzJQSkpEBdYZJbVztrnQBh40TyULOLHOFC7vqT4Iprw8mD3YBmFcwQ 4iLXXMdVMbN40rVDROA6wnsKh+E5r/9PI5O5s0D6l/xGk0gChIPUXzU+rzn8CE8YbSS4 4e01ivGbblWx3ObGwRSkYlVKNaWdvhjbMbm6KEF19dhON5i67QDZfDxSR3MHokeNQCcY M4i+IfobIVdCCJre9ELVxCjtNEun5/W549NvFbpMaE8szJn/yfyBWesdoQcC87rIdLZz UY/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="denO/QkG"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18-v6si7550727pgl.171.2018.09.07.00.47.21; Fri, 07 Sep 2018 00:47:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="denO/QkG"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727864AbeIGM1C (ORCPT + 3 others); Fri, 7 Sep 2018 08:27:02 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:50895 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727795AbeIGM1B (ORCPT ); Fri, 7 Sep 2018 08:27:01 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180907074719euoutp0104ce1ee2d34550404f2d7db45bef16b3~SDpErgS142394323943euoutp01k; Fri, 7 Sep 2018 07:47:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180907074719euoutp0104ce1ee2d34550404f2d7db45bef16b3~SDpErgS142394323943euoutp01k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1536306439; bh=NY+FJyypwLXUZsEC9dXuVZPKZQgu89M0BqcaxdwRK2M=; h=From:To:Cc:Subject:Date:References:From; b=denO/QkGZj6TNKmt1vSK7u4H/wXV2Xc+irQQ8xUcXOvhVcAHXzHFQv1w8wiDRK334 1oQ0id9N23sUur8VAUDed/v1R6E0ZJDnnr1oRcq+syII+8tTEzMtnu8uA5GbxNDzaq tCcWBTyVRD6qD8sRUosOITM0JrEOcRS0DcSDIcIk= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180907074719eucas1p147caa216f5eebc643717aaf6e8cfbb18~SDpELh_2P2809028090eucas1p1z; Fri, 7 Sep 2018 07:47:19 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id D9.10.04441.60D229B5; Fri, 7 Sep 2018 08:47:18 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180907074718eucas1p1c6f9e103037f2cbc6c046e6b57bd61ec~SDpDgiR8C2809128091eucas1p1z; Fri, 7 Sep 2018 07:47:18 +0000 (GMT) X-AuditID: cbfec7f2-a1ae89c000001159-2d-5b922d06d139 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 64.D7.04284.60D229B5; Fri, 7 Sep 2018 08:47:18 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PEO00457DMRN800@eusync1.samsung.com>; Fri, 07 Sep 2018 08:47:18 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: dts: exynos: Add external SD card support for Trats board Date: Fri, 07 Sep 2018 09:47:13 +0200 Message-id: <20180907074713.4347-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42LZduznOV023UnRBt/u6VhsnLGe1eL8+Q3s FjPO72OyWHvkLrsDi8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZapG+XwJWx8PkXloJ+zooL D/UaGGexdzFyckgImEjM+LGEtYuRi0NIYAWjxI9/TewQzmdGiYWdD1hhqv5PPcUIkVjGKDHl VzcLhNPAJNH+aRUjSBWbgKFE19suNhBbREBV4nPbArBRzAJ9jBLX985lBkkICwRK7J2+mQnE ZgEqWv77FlgDr4CNxJGfL6HWyUus3nCAGaRZQuAoq8Sp1c2MEAkXiT+z9zJB2MISr45vgfpC RqKz4yATREMzo0T7jFnsEE4Po8TWOTvYIKqsJQ4fvwi2glmAT2LStulAKziA4rwSHW1CECUe EpsXtYINFRKIlbhx9CXLBEaJBYwMqxjFU0uLc9NTiw3zUsv1ihNzi0vz0vWS83M3MQIj5/S/ 4592MH69lHSIUYCDUYmH94HRxGgh1sSy4srcQ4wSHMxKIrxMCpOihXhTEiurUovy44tKc1KL DzFKc7AoifPyaaVFCwmkJ5akZqemFqQWwWSZODilGhiXNO4Jy+FaFSfCGhhx5OPsmyHZF08d qDGJNZyV+FOHr/qevPlp0bAdcQ6SIRq2z0QmWRoeFJfoa9FTtHtds172qo7y1/TDPXrWxqeP mgQZu3sp1xsfuRARJqqkbfdl5tf/ZVWsIXXizBsfbuBZc0u8/vJrN6Hz+wp1r0y7sNPr49Qd rwWWVSixFGckGmoxFxUnAgDrBm5BmAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGJMWRmVeSWpSXmKPExsVy+t/xy7psupOiDVY0ClpsnLGe1eL8+Q3s FjPO72OyWHvkLrsDi8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZapG+XwJWx8PkXloJ+zooL D/UaGGexdzFyckgImEj8n3qKsYuRi0NIYAmjxMJdn6GcJiaJKS9vMINUsQkYSnS97WIDsUUE VCU+ty1gByliFpjAKLF64SxWkISwgL/End1HwIpYgIqW/74FZvMK2Egc+fmSFWKdvMTqDQeY JzByLWBkWMUoklpanJueW2yoV5yYW1yal66XnJ+7iRHo223Hfm7ewXhpY/AhRgEORiUeXgvT idFCrIllxZW5hxglOJiVRHiZFCZFC/GmJFZWpRblxxeV5qQWH2KU5mBREuc9b1AZJSSQnliS mp2aWpBaBJNl4uCUamCc9+oAz7ZCc5n1P/f2nmJ+0xT3/db5U+sytnDmNWybJLN3388jBqLm h6893/lo6ueXVTv0veMtP9kU7o95xnBo7meOhueFFtdjH+8QiUjTPcx9It2mgl2/7nOB2tNl 2rmOHTm+Jby3fq93yrxccCepaUqnAEuf7JVZU94F1B29H9pyY0mZ20NtJZbijERDLeai4kQA F7Mqs+kBAAA= X-CMS-MailID: 20180907074718eucas1p1c6f9e103037f2cbc6c046e6b57bd61ec X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180907074718eucas1p1c6f9e103037f2cbc6c046e6b57bd61ec References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Enable support for SDHCI controller number 2 and add required regulator for external SD card. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210-trats.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index 6f1d76cb7951..f9bbc6315cd9 100644 --- a/arch/arm/boot/dts/exynos4210-trats.dts +++ b/arch/arm/boot/dts/exynos4210-trats.dts @@ -385,6 +385,12 @@ regulator-max-microvolt = <1800000>; }; + tflash_reg: LDO17 { + regulator-name = "VTF_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + }; + vddq_reg: LDO21 { regulator-name = "VDDQ_M1M2_1.2V"; regulator-min-microvolt = <1200000>; @@ -452,6 +458,15 @@ status = "okay"; }; +&sdhci_2 { + bus-width = <4>; + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; + pinctrl-names = "default"; + vmmc-supply = <&tflash_reg>; + cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &serial_0 { status = "okay"; };