Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1279629imm; Wed, 18 Jul 2018 21:32:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpduCpbqeu6xVWyi5OlmKwri1eTMehIGbMahdLvqs2azkRcTfAHQZslG7fPLuSwiOKbS9ou+ X-Received: by 2002:a63:5463:: with SMTP id e35-v6mr8543079pgm.115.1531974778517; Wed, 18 Jul 2018 21:32:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531974778; cv=none; d=google.com; s=arc-20160816; b=NLq4WZlUTs8QTCXluxSqr2gDyDZnmAR+FGeIim+tD6d21Y7kCUqenj0TGw/LAN2C44 NntZynhaC284AOqsiDn7zZfUYGoWWvJ/99JPkHric70YH0WShL7xLipkxYhOTT1g1WH/ 6aeyn8KfNMVWd3iaVZZqiovzZba24XcCrA/osrMX2vCAZpvH7auf1lBMAIy2C21UEAGt BT3Nep67oGKDWWDrwbz6577lAjtjTGzsvFbZSMR6kon8+yRUoioutRodTD5obpP9P3Pv f3+5rwQGUadBiKAsD1Dmv1++yP5ci0280EWFlqkWZ3WB4q6zmMqkV7ib14Y0Flq2WC0k hWNA== 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:arc-authentication-results; bh=nG9TfJbmZzzOIDcwWNWrFgP9Y0QGXr2Fn6/bjImgapc=; b=HYlv3/2pcw1Mvv1jLYhozpIXhzQRHFMkTzS1mgQ0zjaUDmjvusAmFhKtmGeZPgnfKk RFtXWNdfo+MyqRDREiaDOiJESLoWDBQgiqozDC/K1uT3OXtKFUCX8CBud0lf3Xyst8XI kVx3lHZ4g54+47Agja7feihCPMcd0WG2DUQL+lXPppKlYKhRKOrUv5vQ2IzwB00gJd8q n9EQDmNNES+kGZm6ESN8tD/nqxpVMdoY/VQPrhowurhIEVNv7V+Uzi7K9CjVq/+MeX3I UWTqQWxKdc+/cvXcLR6kgrV1Vqd6+Owr3dd4d7afbSrRhey97ZrtA3GtGq+EP6gDKXuJ 8Vlw== 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 x18-v6si4563259pll.193.2018.07.18.21.32.44; Wed, 18 Jul 2018 21:32:58 -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 S1727721AbeGSFLU (ORCPT + 99 others); Thu, 19 Jul 2018 01:11:20 -0400 Received: from hermes.aosc.io ([199.195.250.187]:40654 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727508AbeGSFLT (ORCPT ); Thu, 19 Jul 2018 01:11:19 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 481109F172; Thu, 19 Jul 2018 04:30:01 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v2 3/3] arm64: allwinner: h6: enable MMC0/2 on Pine H64 Date: Thu, 19 Jul 2018 12:28:10 +0800 Message-Id: <20180719042810.6546-4-icenowy@aosc.io> In-Reply-To: <20180719042810.6546-1-icenowy@aosc.io> References: <20180719042810.6546-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Pine H64 board have a MicroSD slot connected to MMC0 controller of the H6 SoC and a eMMC slot connected to MMC2. Enable them in the device tree. Signed-off-by: Icenowy Zheng --- Changes in v2: - Use real regulator instead of dummy regulator. .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 1673636358ef..ceffc40810ee 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -41,6 +41,24 @@ }; }; +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; + vmmc-supply = <®_cldo1>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&mmc2 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins>; + vmmc-supply = <®_cldo1>; + vqmmc-supply = <®_bldo2>; + non-removable; + cap-mmc-hw-reset; + status = "okay"; +}; + &r_i2c { status = "okay"; -- 2.17.1