From patchwork Sun Mar 5 13:37:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9604611 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 B1C5D60414 for ; Sun, 5 Mar 2017 13:42:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1D30283B3 for ; Sun, 5 Mar 2017 13:42:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9320F2843F; Sun, 5 Mar 2017 13:42:59 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 05DAC283B3 for ; Sun, 5 Mar 2017 13:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=TwHC3Qff4o5y5cAgo4dBIsGrwi1XZvZ9eBI9ptBNQeY=; b=fO2wmT4uWEUIQAmQnI7OlwbH3o ww7EHZEJxWVsuEazVqhvWvd+b7+vVDo8Td6PQMA6E9hDnIRxU+xyQU/kL+OwF+JXyk42xQgo2JSHA 3M/aQH18SFSn+ZHL19u9DQDzLHzx9G9n+80YJ3Cj7LW3hFw6J7vB5kdoi+Fq8sia9tJEFyARgqQ95 V7BVCaZJNaATv3UDvkW/0yE/fnWjlIomwIL1tmkpLPra8GgJwiyJbnXFdgy/zjv4HoA8ez/7eFG8F uZ3ORe9JJswU2IORIgn23RBcvgqICQ9+2bpSdR4rCSeDKDdBoMfa101RvFar87SMJLdoBnk4wUDM5 /v3OhSsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ckWR8-0001AM-55; Sun, 05 Mar 2017 13:42:58 +0000 Received: from forward20j.cmail.yandex.net ([5.255.227.239]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ckWPn-0008MG-S9 for linux-arm-kernel@lists.infradead.org; Sun, 05 Mar 2017 13:41:39 +0000 Received: from smtp1m.mail.yandex.net (smtp1m.mail.yandex.net [IPv6:2a02:6b8:0:2519::121]) by forward20j.cmail.yandex.net (Yandex) with ESMTP id 5B891214C2; Sun, 5 Mar 2017 16:41:11 +0300 (MSK) Received: from smtp1m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1m.mail.yandex.net (Yandex) with ESMTP id 7EB1863C0CEA; Sun, 5 Mar 2017 16:41:03 +0300 (MSK) Received: by smtp1m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 1xu4bs3MBZ-etTmMhkJ; Sun, 05 Mar 2017 16:41:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1488721262; bh=+4OnSioHtHfEYEIrxncMezUFwMA959Elon/AgzPi3gk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=JN6xSo5kCRIbD03H+D1S6nhjEziUbI32D0QBK0jSQSW8Q/LmxYgKGQVNmQ5bGMJw9 YU2UwvBFXa0PcP/xDag+f6Ix5xK2kwUqO9EXU3JAinhztYScI7CnpvtdxHnI7QH3sn ok/JRYXKxkF5a39mnEXaY4NjE3VVUtsUIEXu8j9I= Authentication-Results: smtp1m.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: Vinod Koul , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Mark Brown Subject: [PATCH v2 11/12] ARM: dts: sun8i: add pinmux for V3s mmc1 Date: Sun, 5 Mar 2017 21:37:08 +0800 Message-Id: <20170305133709.6288-12-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170305133709.6288-1-icenowy@aosc.xyz> References: <20170305133709.6288-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170305_054136_218093_E42D46D9 X-CRM114-Status: UNSURE ( 8.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner V3s SoC features 3 MMC controllers, mmc0 is used as the MicroSD slot on Lichee Pi Zero, and on Lichee Pi Zero's dock mmc1 is also soldered as a MicroSD slot. Add the pinmux for mmc1, thus we can enable the MicroSD slot on the Lichee Pi Zero dock. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-v3s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 5fb6cb69f7bc..a39c26bceedc 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -234,6 +234,14 @@ drive-strength = <30>; bias-pull-up; }; + + mmc1_pins: mmc1@0 { + pins = "PG0", "PG1", "PG2", "PG3", + "PG4", "PG5"; + function = "mmc1"; + drive-strength = <30>; + bias-pull-up; + }; }; timer@01c20c00 {