Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3966663ybv; Mon, 10 Feb 2020 09:41:46 -0800 (PST) X-Google-Smtp-Source: APXvYqxE258xcKJYwHuoUYASAozDV0H/YEvjAh7FoRfMiPkmDGrLNezUgFWwZOmvEqdU0Gg3MSp5 X-Received: by 2002:a05:6808:7c7:: with SMTP id f7mr147557oij.58.1581356506681; Mon, 10 Feb 2020 09:41:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581356506; cv=none; d=google.com; s=arc-20160816; b=B5gdm6+0JFIQmaabrm0eV2KxK4CIjB5q5dqyZp61EDTdxAYKAEZF9Jozy3kQtQSxsv mTpvbhnFs1zC7Gh6Khifl9eZUsjLRh9BfA06rx2vtiBYXbhhBgnddFB844LDd46V0PrF fF9YAD2preD6RXzrj4r89u5WImfCfgHFJHZDhHq+922Gk8bfpl6roCfTLqxRmsXWckuq 8eRyRoEc3wmIQ0b7lH0JWRe9tLU5+DeNQWmsE/6t7XUMaPOu3/AN91VMCGAyFpmXLIum xzcZ/y5mC/u1244wwGkfoomEi9yGz6RazzlYqyT4Y99fg27LCJoSnxpg+5Q6Bdp3FmNA Rr4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=LNI5B1PT11QzBpBipYPqrHylCJeDdFaCgf+4K3HIias=; b=Eos/iVt9OkHAiPx13UtUpJ1kWzKX9QpbYWnys4Ayaag9HSHLUIo4j6jB5iFcDHQh5X kewFX8psoE+Ka/ZXkV93dMrwt0SReiiqIl6aXeoMDXr8SM/8olW+DOAMMqAIUf9wUNmK vgcoMqDEOoEQqAGuL1/2Z31uzEL5HJOO11SuMAqbYNmFDMiqTpJcWOpdrf8NB0f5O13n 2n0JG2gpTAWzHYdhUQYFBJmjMuLJuoza6gpetpCre6jLesiHN6ySJ1e8WcgAl8swUdYk vuQwsSV6cEif+E8yV12m/sV2AXovnExbiqp75O26o4YbDIbuhVyUPTTU5TyUWGiOQC6v pp4w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p25si481708oto.191.2020.02.10.09.41.34; Mon, 10 Feb 2020 09:41:46 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728088AbgBJRkR (ORCPT + 99 others); Mon, 10 Feb 2020 12:40:17 -0500 Received: from mailoutvs42.siol.net ([185.57.226.233]:32867 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727054AbgBJRkR (ORCPT ); Mon, 10 Feb 2020 12:40:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 82FA6521C36; Mon, 10 Feb 2020 18:40:14 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta09.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta09.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Y_pJR8agbzzQ; Mon, 10 Feb 2020 18:40:14 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 34FE5521C76; Mon, 10 Feb 2020 18:40:14 +0100 (CET) Received: from localhost.localdomain (cpe-194-152-20-232.static.triera.net [194.152.20.232]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id 9E060521C36; Mon, 10 Feb 2020 18:40:13 +0100 (CET) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2] arm64: dts: allwinner: h6: orangepi-3: Add eMMC node Date: Mon, 10 Feb 2020 18:40:07 +0100 Message-Id: <20200210174007.118575-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org OrangePi 3 can optionally have 8 GiB eMMC (soldered on board). Because those pins are dedicated to eMMC exclusively, node can be added for both variants (with and without eMMC). Kernel will then scan bus for presence of eMMC and act accordingly. Signed-off-by: Jernej Skrabec --- Changes since v1: - don't make separate DT just for -emmc variant - add node to existing orangepi 3 DT arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arc= h/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts index c311eee52a35..1e0abd9d047f 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts @@ -144,6 +144,15 @@ brcm: sdio-wifi@1 { }; }; =20 +&mmc2 { + vmmc-supply =3D <®_cldo1>; + vqmmc-supply =3D <®_bldo2>; + cap-mmc-hw-reset; + non-removable; + bus-width =3D <8>; + status =3D "okay"; +}; + &ohci0 { status =3D "okay"; }; --=20 2.25.0