Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp237820ybh; Sat, 18 Jul 2020 02:22:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTbe81J6bqzl8EGSjpJTS0u30nfX3w7pQnI3ReEFUU9VJzEY7RMwUpAhkU0KRyKFxoLjxi X-Received: by 2002:aa7:ca05:: with SMTP id y5mr13265165eds.204.1595064153567; Sat, 18 Jul 2020 02:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595064153; cv=none; d=google.com; s=arc-20160816; b=ugxbm2HfHLSoD5nhL7NeMcio9kMLPyYpkmP1PPi0oh6AAqI3LTzgwsHpqnV2vFxCw1 jFKoja9sOq3E4Hq6KwxxUss8s9Rj4od8bFGWDTzEyrW3HmsO1vq+1iEg7qWAeG77hPtD swu6IpJRGIBAc0kSnplwb4hOulHwKPb8SQ8SwwwdbKDzHZb5TpzahYrSAXyRZfUBDtP2 6ACQcfSj3RmR58o6w9Mm53lxeHQ5urraXMANd0kZ5eLp21HxpZlwBSn0HblVgsHY3fha x8T/zgV2U+PnFHlR5BBXGFyjivHi9u2TwQPmwDlRk2XnEJZcqaQAbQzMout2rQBVtk1I ydNw== 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:dkim-signature; bh=qR4vJT+mcA6eHTDOA004E+9HQE1jjc1zKhWS+aHn5+s=; b=O/GQ6JETlgS+EgT1jfndd6YReE2zl5TKo+vlkhvoPkD0DMjrC47/kODcbuYNNkkyPe j8aOBN//TpQ7V185tl9jD3QKovLoBXIhIkJrgh+LPrlApLDe3h4rAf+HVxkoYdiwj03E dMJDiuS06xLF8yBz/xjnOe9mGOLGjfmuc1fNALBQ9r87fCDhmGTkgJCw3nzD+IIDTAsG LuUMLiyzIfhQQkFUBo8RkqqnaFnNIZyRF2D8CG7/cpzni5PZsGMf3pIAWDXkqMk/W0ue sl0p3pxhofiLDnuYlV6RvOgjemh9QuhcWHgfEZXoett6aRgo0XYp61FvRAMyrCGlRmUl 7WLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ILk8sJlg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd5si6673117ejb.399.2020.07.18.02.22.11; Sat, 18 Jul 2020 02:22:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ILk8sJlg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbgGRJUr (ORCPT + 99 others); Sat, 18 Jul 2020 05:20:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbgGRJUr (ORCPT ); Sat, 18 Jul 2020 05:20:47 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23925C0619D2; Sat, 18 Jul 2020 02:20:47 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id p3so7865080pgh.3; Sat, 18 Jul 2020 02:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qR4vJT+mcA6eHTDOA004E+9HQE1jjc1zKhWS+aHn5+s=; b=ILk8sJlgP/1iJ+pXHTXLVEti55fV/dvUXOg3wBPshnyNPk4yOH5Y0hdD6cPdP3pJnd qHCGk0CGL9vO4u1Hdng6HTn7EruWAZhAlRcBckOOVPSuTE3lMRuoyWetrO3l3FKQ8/qw ypKfrelR7H4sIzqLyeTNqiy05mnHtpaYcM2IEN543K7GIzboj9Uxz5rLVdn/m/1d83pm Rg0ILXwr3kGpK3rYEo6a0C5bf9R99DWiJTcm9TuYg/KxamDiDAqspsywl4eZjTjekgL6 WTl4Wa97NN6ySVmGDabFERIIwiKLeVii8wCxBbMW4isBMj47ORxjPG+4JAYKxEQOWqbC 8fGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qR4vJT+mcA6eHTDOA004E+9HQE1jjc1zKhWS+aHn5+s=; b=QAtA2P3eOBVNjYtHzDClAwkFFTSq3Hd2BUGifY/Z5Px048a2j/v7dnBPhdJYBxqBSy V8PVKXeoVMVrDKwxXoNKEVzZPnDB5ttVibuwD6t7JNTkx2ZPiXo0vA66o9Saul+dGPMw Vwd1tUNN/KjMVpSFGeMbU84b9cLa6Ioi1bDo0VrLHjMVthZsPV/Jxd6O/Ea4T5PEwUIA TVOAx5mu8TP2Q5mF0GtLGR0RtYPGv6JcOR5rGpmAvp7fgBL6GIE+u0ZB45xiWe1eSafg YwmxmcoVnlK+thLm5m+pJJ/mx3AetCQokWzR1nJaqhJ1YDeck3T9AOmXWtFO5haZlwpd Mliw== X-Gm-Message-State: AOAM530pIjSzNptv1uPdLok11/C/oQHykFMZem1aMH/Hv8AiTOyHuf7g adx3VCg55po7hXGNMicQsp0= X-Received: by 2002:a63:ca11:: with SMTP id n17mr11688198pgi.439.1595064046647; Sat, 18 Jul 2020 02:20:46 -0700 (PDT) Received: from localhost.localdomain ([182.69.248.222]) by smtp.gmail.com with ESMTPSA id nl5sm5217800pjb.36.2020.07.18.02.20.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2020 02:20:45 -0700 (PDT) From: Amit Singh Tomar To: andre.przywara@arm.com, afaerber@suse.de, manivannan.sadhasivam@linaro.org, robh+dt@kernel.org Cc: cristian.ciocaltea@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v6 09/10] arm64: dts: actions: Add MMC controller support for S700 Date: Sat, 18 Jul 2020 14:49:33 +0530 Message-Id: <1595063974-24228-10-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1595063974-24228-1-git-send-email-amittomer25@gmail.com> References: <1595063974-24228-1-git-send-email-amittomer25@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commits adds support for MMC controllers present on Actions S700 SoC, there are 3 MMC controllers in this SoC which can be used for accessing SD/EMMC/SDIO cards. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added Mani's Reviewed-by: tag. Changes since v4: * No change. Changes since v3: * No change. Changes since v2: * No change. Changes since v1: * Added SoC specific compatibe string. Changes since RFC: * No change --- arch/arm64/boot/dts/actions/s700.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi index 2c78caebf515..9ed88aafc2da 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -259,5 +259,38 @@ clocks = <&cmu CLK_DMAC>; power-domains = <&sps S700_PD_DMA>; }; + + mmc0: mmc@e0210000 { + compatible = "actions,s700-mmc", "actions,owl-mmc"; + reg = <0x0 0xe0210000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD0>; + resets = <&cmu RESET_SD0>; + dmas = <&dma 2>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc1: mmc@e0214000 { + compatible = "actions,s700-mmc", "actions,owl-mmc"; + reg = <0x0 0xe0214000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD1>; + resets = <&cmu RESET_SD1>; + dmas = <&dma 3>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc2: mmc@e0218000 { + compatible = "actions,s700-mmc", "actions,owl-mmc"; + reg = <0x0 0xe0218000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD2>; + resets = <&cmu RESET_SD2>; + dmas = <&dma 4>; + dma-names = "mmc"; + status = "disabled"; + }; }; }; -- 2.7.4