From patchwork Wed Aug 21 02:56:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 171896 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp370937ily; Tue, 20 Aug 2019 19:57:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9nytxju6Yt6EjDGxMe92xRp1hZMFSfOalTCPf09zd9PGeC0xFNgd1QWlMfNXiuS+kVx2i X-Received: by 2002:a65:4505:: with SMTP id n5mr24566402pgq.301.1566356227274; Tue, 20 Aug 2019 19:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566356227; cv=none; d=google.com; s=arc-20160816; b=JnlRxpiN/s9v61k+FcDyT2V+12NGOw5VXku3nbh0fXbbxymBoNwHS4FWIc7BcJHMR0 1uB04Edw0jxM+MwhIujRIqw8eDji56lGxTWOWxGaE4EWIzaZL4oxnHazPACxcwY9UmXp ubtRJV1At3hD1VeY4QdZDSh9mJTj3V5D3VNY+rR3MtZRSh+kjLYufy2KF/MoPpCTL3Vr LUlnV6mf1hpV9SsWdexadYo9xdXjrxPmQpVr9dTxn8JDt5WBK0JU1j40TMxLxd+0ahQv 86AleAPsg43zmEVF87qyXHWIPKPRTaDNapKDMOM2ii6NAqEs3MZ8+ctLg6f+ZmuCuZ4q Ll9Q== 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=GdUGLfzA/moIy9fqv00a3/N33TZrVkt63TobdJZyyCw=; b=exZDfrfl8XdIq13d5UG74cT44L7ZV3zLSCjbGeE3RD6490VlAS3Y5D+AV+QP9a9c5v IaY7MnxkMP8JQ9cG2iFs5M19SH0aeReb+IJORt9CiIYVKB+dif98LLOnpdi5tpWcKdPW dkSecmg2Va0x3PoeMWhP+GAS8GJUuU3VONs4gza7unyzcSiz04gKqLbSCFPuRSQVOvP5 Vabf1BXBRan969UYt4F7L3T9SzrYmvrL34yFxUjv+EjoQZsalpsR2GIuHPC30LfHhVGZ hy+SyXallgGBY6+wp3sJuw8Cj2t4Oyqdy3rf+xLYMuXA4Z8skwPVOIOY55kPidQ+iYhd OMtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mgdjrGiz; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si14976228pfb.230.2019.08.20.19.57.06; Tue, 20 Aug 2019 19:57:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mgdjrGiz; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727070AbfHUC5G (ORCPT + 8 others); Tue, 20 Aug 2019 22:57:06 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:37494 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbfHUC5G (ORCPT ); Tue, 20 Aug 2019 22:57:06 -0400 Received: by mail-pg1-f196.google.com with SMTP id d1so441625pgp.4 for ; Tue, 20 Aug 2019 19:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GdUGLfzA/moIy9fqv00a3/N33TZrVkt63TobdJZyyCw=; b=mgdjrGiz62SCcRImp4lqZD+9mH5SwVkqQCSliznjEvV9q9/Er6oVHnaigYH4FDlvZX U7MdbJUMTC5pkc/5ZS1tm2xCzCCvH9ULdqQ5hRXwncNHEI2F45qVGgrjtH4bXgmmDLTg 3TDB1x9tfFtP/cUW8W3KU8Chq+RZQju7gaWkXh4qRYlg+KEWub80DutBlEiy7wX2CHuJ xfsx+iQmXlWF9JDDZ/asaA6j1O4GK1ggNZX0GU49A6JSwuVNFYEFr/QS2ukMmSyKGfpp qTMYWg8T3h9VsH4H0E1P+98pYxi5vlaSiZtsnr0h073E8LrUCeA7LmV667sBvYxKBK3N Bckg== 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=GdUGLfzA/moIy9fqv00a3/N33TZrVkt63TobdJZyyCw=; b=KoZcbsVqcus4sD25j6/tY5xEHEqUhWQ+tG2ryjTguomh10lOD0YQv45OpqhK43CisC Gd9cAOlVMM6uiTFVileNANC+ZaQ2SYm06fuvvI2HsvNdfaHVSb9z6b9lPwcybEZRVCBo xlpTP78xbAR9zMkmVb0bh9FAwrdWKne73xoIQBrvzWN6aPMCvFTcYvoYlNCOjr81dX4w PukI0DBR3eEXJqODEHEWme4PlfZUmx67F7ByVjpamCK8ROWAIYk2F1vJM4cGLOPBFAQL 0LENO7KjJ55xWWgBX58O2CJ90Nelab3008Qb+f+JMIgXXvZQjk4NKebfyGTFIKCZ7acO p3/Q== X-Gm-Message-State: APjAAAUw4DN55HhW9VxdajmFxytzL1kA8ezj/fhPpmTkhCam1WFWRMHb ZM6q7W41+o+J/0ZghlYzZbeg X-Received: by 2002:a62:8745:: with SMTP id i66mr32855184pfe.259.1566356225413; Tue, 20 Aug 2019 19:57:05 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7101:175:ddd7:6c31:ebc7:37e8]) by smtp.gmail.com with ESMTPSA id d16sm13251682pfd.81.2019.08.20.19.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 19:57:04 -0700 (PDT) From: Manivannan Sadhasivam To: ulf.hansson@linaro.org, afaerber@suse.de, robh+dt@kernel.org, sboyd@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.liau@actions-semi.com, linux-actions@lists.infradead.org, linus.walleij@linaro.org, linux-clk@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 3/7] arm64: dts: actions: Add MMC controller support for S900 Date: Wed, 21 Aug 2019 08:26:25 +0530 Message-Id: <20190821025629.15470-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190821025629.15470-1-manivannan.sadhasivam@linaro.org> References: <20190821025629.15470-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add MMC controller support for Actions Semi S900 SoC. There are 4 MMC controllers in this SoC which can be used for accessing SD/MMC/SDIO cards. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index df3a68a3ac97..eb35cf78ab73 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include @@ -284,5 +285,49 @@ dma-requests = <46>; clocks = <&cmu CLK_DMAC>; }; + + mmc0: mmc@e0330000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe0330000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD0>; + resets = <&cmu RESET_SD0>; + dmas = <&dma 2>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc1: mmc@e0334000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe0334000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD1>; + resets = <&cmu RESET_SD1>; + dmas = <&dma 3>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc2: mmc@e0338000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe0338000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD2>; + resets = <&cmu RESET_SD2>; + dmas = <&dma 4>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc3: mmc@e033c000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe033c000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD3>; + resets = <&cmu RESET_SD3>; + dmas = <&dma 46>; + dma-names = "mmc"; + status = "disabled"; + }; }; };