Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1565770ybb; Sat, 21 Mar 2020 00:59:15 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuPxjo8dDZNQ7iwx2cwXG3YKPBujTZQy/lcXdxd6q5RENKM8n3ypmEL6p/iGvNboQDatHa2 X-Received: by 2002:aca:5d04:: with SMTP id r4mr9554806oib.94.1584777555434; Sat, 21 Mar 2020 00:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584777555; cv=none; d=google.com; s=arc-20160816; b=ODY+7SCKxabKRkv6kT4inugNlSVyuWfkH483UKQSSgeE07PznMuGYtsJHHbVh0vNii rXLEIe4GsYzKLIE4386aohfzMhw6rn4uyUAAsEvnlRfVo0AaUlgPzl6bict159Fo9Kai sqpsu7BQMrf0T21Qfl9ihlWXGsezqcBrlgh7/zieASB3+LkYXMCBtnmn16D+W8aYflFs Y3XIAmBIUduQYH2nqS3fSetzbRBQj+HsF1jndqzXr/VXSwVD++MreM3725FBZWcwaJXo k3HBjcTMgHvrT4l/msH173rtWJPCdhQIPo7FwIl/SOnY5JauCateiqGpdnviKYAXGajH TtNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=IYAp7G7YQvEq83lXzcSt6UY2OgEe6KpNTuBfLczdYQo=; b=Ju2k6bm8YlWRNJx5dFqxLYABwsSQoHgU/VHpFEQwf+7oO6qbRz+niI7nFnn0RSsS3H teiGJIICIonpE/sLdj8HqqFInCa8HeR4eccmuO66Z9gqgCJvu70nmUzYmhl/qv/4Ivre er0HKpAlLQ/N2jn18kXqqOrDWFXM81XoElkJO/aFYRdRrOKdY4/ooxSNqIAcWHSWo21Y 5vlJfF47a1j9GLO79kq229PYeU+qXtRHmvwV7KXHHce6BDODTLilnLV3CleAdrGMkkhu lnsA0Ax4yx1RxYZou/cwLTdmB2RmWSepnzGtyMJz0acMJmAAalqQJ4JBK9ht3Mu2tnA2 7/cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si4078370oix.138.2020.03.21.00.58.50; Sat, 21 Mar 2020 00:59:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728088AbgCUH6U (ORCPT + 99 others); Sat, 21 Mar 2020 03:58:20 -0400 Received: from olimex.com ([184.105.72.32]:46606 "EHLO olimex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728040AbgCUH6U (ORCPT ); Sat, 21 Mar 2020 03:58:20 -0400 Received: from localhost.localdomain ([89.25.85.162]) by olimex.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username stefan@olimex.com, mechanism PLAIN) for ; Sat, 21 Mar 2020 00:58:14 -0700 From: Stefan Mavrodiev To: Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Corentin Labbe , Stefan Mavrodiev , =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), linux-kernel@vger.kernel.org (open list) Cc: linux-sunxi@googlegroups.com Subject: [PATCH 1/2] ARM: dts: sun7i: Add A20-OLinuXino-LIME-eMMC Date: Sat, 21 Mar 2020 09:57:56 +0200 Message-Id: <20200321075757.15853-2-stefan@olimex.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200321075757.15853-1-stefan@olimex.com> References: <20200321075757.15853-1-stefan@olimex.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is new version of A20-OLinuXino-LIME with eMMC storage. The card routing is the same as in A20-OLinuXino-LIME2-eMMC, so this is basically copy/paste. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/Makefile | 1 + .../dts/sun7i-a20-olinuxino-lime-emmc.dts | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d6546d2676b9..6bf3c5a98a0f 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1093,6 +1093,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ sun7i-a20-olimex-som204-evb.dtb \ sun7i-a20-olimex-som204-evb-emmc.dtb \ sun7i-a20-olinuxino-lime.dtb \ + sun7i-a20-olinuxino-lime-emmc.dtb \ sun7i-a20-olinuxino-lime2.dtb \ sun7i-a20-olinuxino-lime2-emmc.dtb \ sun7i-a20-olinuxino-micro.dtb \ diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts new file mode 100644 index 000000000000..033cab3443f8 --- /dev/null +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Olimex Ltd. + * Author: Stefan Mavrodiev + */ + +#include "sun7i-a20-olinuxino-lime.dts" + +/ { + model = "Olimex A20-OLinuXino-LIME-eMMC"; + compatible = "olimex,a20-olinuxino-lime-emmc", "allwinner,sun7i-a20"; + + mmc2_pwrseq: pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; + }; +}; + +&mmc2 { + vmmc-supply = <®_vcc3v3>; + vqmmc-supply = <®_vcc3v3>; + bus-width = <4>; + non-removable; + mmc-pwrseq = <&mmc2_pwrseq>; + status = "okay"; + + emmc: emmc@0 { + reg = <0>; + compatible = "mmc-card"; + broken-hpi; + }; +}; -- 2.17.1