Message ID | 7949169f581cab37175602188f44bc26e79a45c0.1683719613.git.noodles@earth.li |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3578316vqo; Wed, 10 May 2023 05:21:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7gDHL3ja+Z+aW/tWzHXXcQ5jphZATkOxKL1Gkf8+gjNfVwYziZIh/9R76WxuslinWPSMtS X-Received: by 2002:a17:90a:feb:b0:24e:463c:c4a7 with SMTP id 98-20020a17090a0feb00b0024e463cc4a7mr25804475pjz.15.1683721289626; Wed, 10 May 2023 05:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683721289; cv=none; d=google.com; s=arc-20160816; b=ty0CuM7eaPc0usYapGtZzvSMm9z4e430Oz7UVjTBr+AzLJVPAsv85uMr3Wd/iJZx3P nHrABuW10F5e4SzLV8N9hYdl5poTx5qx86ol6Du7B35bExUGo5h/C+13V0UhIutyed8K y+cUv/pdOX/Q3q6aluwfhXR9/WL4ySADhXxxnjqAgVOmxSCX4xFKoNXmvv69XRHIQktP Y/WHHsAI5K3FzrUeD3wuNuu3c41B9KExEu8YqnuDysuVXfkERBP3ba+sNuI+xBVvMTGm OrcT/xjjZQvrHGGz0YETO5xBOGXQA3gAs1VbX4on5oBqK+o2JO4R7a2+aGYHE1lEjyIS jmvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=z8H44rBFTZY4TjUWBjN6TrB1XXhRt5aeYvbMpCw9dXc=; b=ULp4DY/+kSK3o1glI+VJkoKJ3LdyMBLlCfpnaSwq6sfEP1hzHzz9eVpY7tMarxjwB1 s08+IP2I7i5huIKiBxtzdde43qqmMsTbDfGhgk6Dngzc17TeiplKkONR2HDJf8Y0WUJe nADAvPFvSz9+YdViNIkUY5ppFOtHC3s9XMRrcDovVi2Tv3ezvzvK5jAYaB7k3ose/zqw cRuRlEaOMlKdPvzLlMZxPIZEoEgJpDWeDMlSzOafX7GwTb/22QyGZmUu8ca3RkeYpRvZ cAH0juXr0KVo2GkGxKzCfDgzuHgeQX7i2z4xfpKeZz4g0eSo10rSYJUjZDFyNUT7g7db G0Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=umz3uG+c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pc16-20020a17090b3b9000b00246a6cecff8si31499452pjb.44.2023.05.10.05.21.14; Wed, 10 May 2023 05:21:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=umz3uG+c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236604AbjEJMCV (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Wed, 10 May 2023 08:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235752AbjEJMCS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 10 May 2023 08:02:18 -0400 X-Greylist: delayed 61 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 10 May 2023 05:02:17 PDT Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED444ED7; Wed, 10 May 2023 05:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=z8H44rBFTZY4TjUWBjN6TrB1XXhRt5aeYvbMpCw9dXc=; b=umz3uG+c8l/FBlg+yh4/xaC1Zx cx6v/g0gitksL1b15tseps4BYnsdNDLhiF7OoeQaBLwqIGYqgmh1f941M6ml9nOgqWxrKDCbOfuTo pAW/eBRHbKiYv+l13qFHxsF3bNiKbvSyiQvMcfyEm2EtGVCYVENtoIWhHjlCh79gbhHdCbONx1DVX KdSy96olRByAMPO4wVSLv28Zu6lJVwnefohEone4TyJ+3BL46inO5h8cQq+nJahXJEtPCIBEmP5hU cRTB25iF6ihoYrci9Hn+PVP1csBmRi5Cp103GdHjFldUKVNIQBxSwPPA3YZTcAUVT7qmDrAC/RcZe DUJp0voQ==; Received: from [2001:4d48:ad59:1403::16a3] (helo=earth.li) by the.earth.li with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <noodles@earth.li>) id 1pwiWF-007uiT-CU; Wed, 10 May 2023 13:02:07 +0100 Date: Wed, 10 May 2023 13:02:02 +0100 From: Jonathan McDowell <noodles@earth.li> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Conor Dooley <conor+dt@kernel.org> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH v2 4/5] ARM: dts: sun5i: Add port E pinmux settings for mmc2 Message-ID: <7949169f581cab37175602188f44bc26e79a45c0.1683719613.git.noodles@earth.li> References: <cover.1681580558.git.noodles@earth.li> <cover.1683719613.git.noodles@earth.li> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cover.1683719613.git.noodles@earth.li> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763267066379021294?= X-GMAIL-MSGID: =?utf-8?q?1765509735044949592?= |
Series |
Minor device-tree additions for C.H.I.P
|
|
Commit Message
Jonathan McDowell
May 10, 2023, 12:02 p.m. UTC
These alternate pins for mmc2 are brought out to the 40 pin U14 header
on the C.H.I.P and can be used to add an external MMC device with a 4
bit interface. See
https://byteporter.com/ntc-chip-micro-sd-slot/
for further details on how.
Signed-off-by: Jonathan McDowell <noodles@earth.li>
---
arch/arm/boot/dts/sun5i.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
Comments
Dne sreda, 10. maj 2023 ob 14:02:02 CEST je Jonathan McDowell napisal(a): > These alternate pins for mmc2 are brought out to the 40 pin U14 header > on the C.H.I.P and can be used to add an external MMC device with a 4 > bit interface. See > > https://byteporter.com/ntc-chip-micro-sd-slot/ > > for further details on how. > > Signed-off-by: Jonathan McDowell <noodles@earth.li> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Best regards, Jernej
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 250d6b87ab4d..ab7f675aeec4 100644 --- a/arch/arm/boot/dts/sun5i.dtsi +++ b/arch/arm/boot/dts/sun5i.dtsi @@ -517,6 +517,15 @@ mmc2_4bit_pc_pins: mmc2-4bit-pc-pins { bias-pull-up; }; + /omit-if-no-ref/ + mmc2_4bit_pe_pins: mmc2-4bit-pe-pins { + pins = "PE4", "PE5", "PE6", "PE7", + "PE8", "PE9"; + function = "mmc2"; + drive-strength = <30>; + bias-pull-up; + }; + mmc2_8bit_pins: mmc2-8bit-pins { pins = "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13",