Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1539378ybt; Thu, 2 Jul 2020 07:54:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQZpBsV9wmjgVu53tDg9dJtfgAicVdAeaOPJUIBPvnV9cGykokkX+by4d9Xmmab4bNDC+y X-Received: by 2002:a17:906:9408:: with SMTP id q8mr27308559ejx.496.1593701698895; Thu, 02 Jul 2020 07:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593701698; cv=none; d=google.com; s=arc-20160816; b=losJaCM0RofICYes1wrT6tHKLSwenxGCFR5OnxIL4OOCTabVy/2iUcVHMDDVXh52DE /5WagUYJhf7Pc5Ih0jiwBplIxt1HMBiEgIspsXZ2sogSdIRwfrr1RaWa820Cel+8rDxo n4SHvyO6HbbzGWizUxzYaJ3n21uvrY0UFLOcNPkD+mPWM3WOhZMcygYQMOMoguYsd027 C6znfcxLbyUnS5fXbW/MhiDJG9uacBHVQl1H9QmAED6UzR9Col3OmtjPOwPeSeqbR0Y0 X5saoxDV8OzMFyJM8O6cqiY/3HW6J+j/j1L5Q3CP+lqNNiIJ+X2Ja2LhSHZhPN+syxep aI6Q== 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=xG+I+OhzhwmJtUntwedWWvLVF9hdPz7VJjHJ9UQuwVg=; b=tnlpWMFpYUSmATN/5Sc4tZL1N48bLMCfkPXnSsKuz/+avRJuUqrymEuD/L66FxHPXt bFa0IGOdArhDkm8aWj6huF3x7fF4q/H2XNY8nv98XqtujPaCvTWSsBXgGqja20HspeoT AFatYbjSVEMKqlrQG/gOPg/Oj0G06xPPb3tf2luOK31hjFopTfkatDSFFYMWrbsgHQv3 TWZO3GMWXTJxguyXhQzBwOIjER8TZwdW0vYoOBwmWvW/GALj8HaLrn9FiGzsQu4QtwAh 8xThPFq1feAvqTNDwGKZ1kl5v94XWJXGMKotNbxaM/OMBotF2F3MXXn8E8gyFgTyrv7o 03iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WjLnSEq5; 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 a3si6163048ejd.741.2020.07.02.07.54.36; Thu, 02 Jul 2020 07:54:58 -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=WjLnSEq5; 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 S1730157AbgGBOyB (ORCPT + 99 others); Thu, 2 Jul 2020 10:54:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730146AbgGBOx7 (ORCPT ); Thu, 2 Jul 2020 10:53:59 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D527C08C5C1; Thu, 2 Jul 2020 07:53:59 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id j4so11413663plk.3; Thu, 02 Jul 2020 07:53:59 -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=xG+I+OhzhwmJtUntwedWWvLVF9hdPz7VJjHJ9UQuwVg=; b=WjLnSEq5QSel1YiqPF8jirofURmebUG6KhyUBCrXkhaDNdQWrSe3wqTAklpISsEMY8 5b995mGnZbWC3CLjbGVd820M65pBbW1aVZCK8QuLw3138li6+JfLO1Cyxcy5ZYCoQ80I NX8jIHGJP+4XYZ9wQPdYI5vCsiE+GMIVr5Y7kd5F8+wIzv2y8oS1gSu+tSTIB45EVt7w qInGxlWZEq93iC5vmi3zIHy4BEnZ3TTm28YA4qEFJ+iMM//UOy0r8NOoPO2lpLNWaFnQ m0CR1KJJ7ONkEjiJlpBllmGpKxCyaWIjub6fUlwOljWl3H6jCDq7NhM9e0UyhOqBMxRl EjjQ== 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=xG+I+OhzhwmJtUntwedWWvLVF9hdPz7VJjHJ9UQuwVg=; b=STdHpBs6HLEBAK8AeqIlmdCGRDHCFUdugXXXKSioDKFZiaeX6w5CVvWYrK8/zBsry5 +X3ZWswtomrWAB1SpISaJjXp5E1u2c8obG5WTooP7jk470kZr4HiWL1QZm9rw7JJOq7w Ck7/MBq0I/dXwwyd8KlPwKJ8WGB4S/3uE8bqFNcSX1rm5ue5bqi3C84MLH6Po9LsTPzY 1WZiH0JjBjMEe6VB3koFsTM+jUN/MGksuYoA5NxaetxONaOWwIMf9VdjkirYquem9WqC 40yi14rpjxnrbumddc/YTOP6gnbQO3eEStDSmIbaZv8YPZ6e9YK5Josui/QIdlLMOnWm 2wTw== X-Gm-Message-State: AOAM531TYMajPH8ZvXiFXsGD0Gd4C4M3hB44cnEiJSLEK8t3nZtqf4Vt wu2jm8thUpbdCGeAedMJrEo= X-Received: by 2002:a17:902:7204:: with SMTP id ba4mr25554410plb.250.1593701638478; Thu, 02 Jul 2020 07:53:58 -0700 (PDT) Received: from localhost.localdomain ([223.190.0.253]) by smtp.gmail.com with ESMTPSA id 204sm9487891pfc.18.2020.07.02.07.53.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2020 07:53:57 -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 v5 09/10] arm64: dts: actions: Add MMC controller support for S700 Date: Thu, 2 Jul 2020 20:22:55 +0530 Message-Id: <1593701576-28580-10-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> References: <1593701576-28580-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. Signed-off-by: Amit Singh Tomar --- 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