From patchwork Sun Nov 13 08:13:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Chen X-Patchwork-Id: 9424577 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 72BED600CA for ; Sun, 13 Nov 2016 08:14:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62D92284BF for ; Sun, 13 Nov 2016 08:14:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 569B5284F0; Sun, 13 Nov 2016 08:14:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DCD32284BF for ; Sun, 13 Nov 2016 08:14:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c5pvP-00026f-Tx; Sun, 13 Nov 2016 08:14:03 +0000 Received: from mail-pf0-f196.google.com ([209.85.192.196]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c5pvM-00023y-38; Sun, 13 Nov 2016 08:14:02 +0000 Received: by mail-pf0-f196.google.com with SMTP id i88so4452672pfk.2; Sun, 13 Nov 2016 00:13:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DC65hVBgovw4Px/G9dWQMFRPvqN0r0gblslqGrmNbOs=; b=k0Hf7zyH0dLZ92lMJqNyiJJ8F9yhyGutdfP3r5+cdl502n2FFnzi6bp1CxP9tdkj4C c1H657r49QKZ2vQYOoVH+O4Y80KLzn725YR9vK4fqN94rVvVz2HrjprJjT1rSey6FfDY e4RGbJ/dkf8AgzmOlhg6MuerV5cY7GbuOOrdYB3uJBe+c3td9RzQ5RE5Yuj1ScdqVuJV 7lyK4+VPpuCFwGNupi1b9y/a7B5UODtB+nLS0qru/bVglA1sW59frMDqefeZS/uWwM59 jq6zss0siAYSQotb/2e0Gzl7+SMxylcYEMEVHTGnxqOZvx2QQMtvjrHoXciyoyTTOjbS JRiA== X-Gm-Message-State: ABUngvdFjLKLF9Qi9I61Ar1weUy2d+EhEsd9AyoK0MwOqbiCDNABh7/201jgSMKSeTmp5g== X-Received: by 10.99.142.201 with SMTP id k192mr18810403pge.174.1479024817338; Sun, 13 Nov 2016 00:13:37 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id uk8sm12299378pab.4.2016.11.13.00.13.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Nov 2016 00:13:36 -0800 (PST) From: Jacob Chen To: heiko@sntech.de Subject: [PATCH 1/2] ARM: dts: rockchip: add the sdmmc pinctrl for rk1108 Date: Sun, 13 Nov 2016 16:13:18 +0800 Message-Id: <1479024799-29198-1-git-send-email-jacob-chen@iotwrt.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161113_001400_234334_573B0BE5 X-CRM114-Status: UNSURE ( 6.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, Jacob Chen , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andy.yan@rock-chips.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jacob Chen Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk1108.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/rk1108.dtsi b/arch/arm/boot/dts/rk1108.dtsi index 9dccfea..6a06ad7 100644 --- a/arch/arm/boot/dts/rk1108.dtsi +++ b/arch/arm/boot/dts/rk1108.dtsi @@ -321,6 +321,31 @@ input-enable; }; + sdmmc { + sdmmc_clk: sdmmc-clk { + rockchip,pins = <3 RK_PC4 RK_FUNC_1 &pcfg_pull_none_drv_4ma>; + }; + + sdmmc_cmd: sdmmc-cmd { + rockchip,pins = <3 RK_PC5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; + }; + + sdmmc_cd: sdmmc-cd { + rockchip,pins = <0 RK_PA1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; + }; + + sdmmc_bus1: sdmmc-bus1 { + rockchip,pins = <3 RK_PC3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; + }; + + sdmmc_bus4: sdmmc-bus4 { + rockchip,pins = <3 RK_PC3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>, + <3 RK_PC2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>, + <3 RK_PC1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>, + <3 RK_PC0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; + }; + }; + i2c1 { i2c1_xfer: i2c1-xfer { rockchip,pins = <2 RK_PD3 RK_FUNC_1 &pcfg_pull_up>,