From patchwork Thu Nov 19 23:56:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11919255 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10FEBC63777 for ; Thu, 19 Nov 2020 23:59:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 85FA12222D for ; Thu, 19 Nov 2020 23:59:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OfzVXxQl"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QG0WjrUy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 85FA12222D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gHVE9EEQW5sMZOohgPYo+Dnt1dNcxPMsUqAN36fDTaI=; b=OfzVXxQl75yYHAxXVGHA8NMD0 Ci0F7K1rpI+NFEjmVARj32c2tPI0PwqBgK1hIqXI6Anro312L7WWYcjh7uwvLWjzjZddOxKaAd2u8 gbyHXecfzyUapKPnf9HG4cJVTnDNUh/vlXH9v/dUvrTkog0xBDjNF86X1JYTtUDZfkyjS5OQECybc d4HyICbIC+6L7dNh09nKZoz7eof7tEFcQ4OrK0itG9ubAcIAFdiCLRQRyGiW45Q2RBJvfw8z/2YKJ an2MYlyqQfDnBHoUoFaN6qb6P/sugQNrOOuOt8XAcCQIla6IFjg7xOpiHeLmUjyVBCcdCb8LuukdO EVTGN520Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kftpg-0001Y4-HT; Thu, 19 Nov 2020 23:59:20 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kftmu-0008Rm-Ni; Thu, 19 Nov 2020 23:56:29 +0000 Received: by mail-ed1-x52a.google.com with SMTP id l5so7671206edq.11; Thu, 19 Nov 2020 15:56:28 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=V2nMrkstdfaLwFQPrDRfpgWYF3hxA8+qBOcuVrcUVdU=; b=QG0WjrUyiSQyl1uPZUKyCtBUSPT8K9qMbALM4qRh1lT/o4anAGNMAMzdtOOutzqr2j vCreXFHVSI4rbfKsQpAgHaUw8BfIrxbZGgQ6P6lVJVe1SdgNflMF95ainw9c3YIvq5P6 uEsP/rn3UtFHJM6qE2yJJ/NUk295HS2RtEufc8Nsf3cZEJaY2TTcJQwFod2/jVZRVVm1 O7267ALG/cdIYgx54+tu8e+98JGXUZUhEhzhYUUq1js0yZ4ZeG/OwcuL4C97ULunFKms hXj+E+8/IQNLpft095NOEx2N5ABdlyXq1vmoVG4KQKzbEMpq25eFF+ie4dkt5tpcGF3x v0Gg== 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:mime-version:content-transfer-encoding; bh=V2nMrkstdfaLwFQPrDRfpgWYF3hxA8+qBOcuVrcUVdU=; b=tocrq7yOKdyWrG33PBx9zkMfqMK2XusfmsVIJw5yNK6CE/f6VhUKHuzMLC140JIgYn 4gRoHCnv5UX/SgnWVABRCijpnFcqmkNyUMpHeivRh8JUn28Fm6L7vPefhOuilnpcjE7W N3ZBZUgVS49GTpx4CYn0n1zuZUkkpYDowAvWZJakpYYAZRf5a8wC+0XjTL3mCfVr0uXe VhCHFnXzB9S8XrqJheMhHIYnmyq00oqnIe6fXQP0+QupMHUzK9TG2uXB2AFgvwKo75pc PtPbbmzCTX9yqc1NxltG74LAn0xrUTBpPpvWwlubhDORIw+KSUgGuykcyiwXlmUGbHeN EgVA== X-Gm-Message-State: AOAM530B0DQ33NNAav7A/R9jikC7LPo1j5AOeShIQyfjE1AG9/shlXkY aebvRUv+MxUz/k4pYmngIqzVv1abv6L7lQ== X-Google-Smtp-Source: ABdhPJyKKb86MrjM+HtW2Mw3fcm/pY4Y6IzNi8CjmaqbB1/5FxnZ+xhG+fpQ89KivVofPrXQhtzpsA== X-Received: by 2002:a50:ec86:: with SMTP id e6mr20060994edr.111.1605830187508; Thu, 19 Nov 2020 15:56:27 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id i3sm452987ejh.80.2020.11.19.15.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 15:56:26 -0800 (PST) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Ulf Hansson Subject: [PATCH v2 09/18] arm: dts: owl-s500: Add MMC support Date: Fri, 20 Nov 2020 01:56:03 +0200 Message-Id: <0556399f1ce8b1255d1f7961f04fcb95c96ab928.1605823502.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201119_185628_838695_A0C6F43E X-CRM114-Status: GOOD ( 12.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add MMC controller nodes for Actions Semi S500 SoC, in order to facilitate access to SD/EMMC/SDIO cards. Signed-off-by: Cristian Ciocaltea Reviewed-by: Ulf Hansson Reviewed-by: Manivannan Sadhasivam --- arch/arm/boot/dts/owl-s500.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index b16172615db0..7af7c9e1119d 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -241,5 +241,38 @@ dma: dma-controller@b0260000 { clocks = <&cmu CLK_DMAC>; power-domains = <&sps S500_PD_DMA>; }; + + mmc0: mmc@b0230000 { + compatible = "actions,s500-mmc", "actions,owl-mmc"; + reg = <0xb0230000 0x38>; + interrupts = ; + clocks = <&cmu CLK_SD0>; + resets = <&cmu RESET_SD0>; + dmas = <&dma 2>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc1: mmc@b0234000 { + compatible = "actions,s500-mmc", "actions,owl-mmc"; + reg = <0xb0234000 0x38>; + interrupts = ; + clocks = <&cmu CLK_SD1>; + resets = <&cmu RESET_SD1>; + dmas = <&dma 3>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc2: mmc@b0238000 { + compatible = "actions,s500-mmc", "actions,owl-mmc"; + reg = <0xb0238000 0x38>; + interrupts = ; + clocks = <&cmu CLK_SD2>; + resets = <&cmu RESET_SD2>; + dmas = <&dma 4>; + dma-names = "mmc"; + status = "disabled"; + }; }; };