From patchwork Tue Dec 29 21:17:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11992635 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 E135BC433E0 for ; Tue, 29 Dec 2020 21:21:05 +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 90A1A20727 for ; Tue, 29 Dec 2020 21:21:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 90A1A20727 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=ZrsS6yP++OTmZ54eIsGU/+52ti4rLRo34nuxf4l429c=; b=OILpOlrM7Cj7o06GLC7wemmxw f2w2pWoFtZequ6z5HuZX9a1OMzB178IO3dHIsm2S5cb3KPbTMQ4vWRQnlVEWitaHj6293ZNOZHRZk J4NfBFaShT4qItciKV+FRnSgPc6F7WQAZdVJ2f+i9KQhh0JETbMpcJtKPPWAAXxPa/zBO5g8CG0La UyeQpkg26FUXmAHXxApZV1rEwJ22nLI8esu0Uzf7LDpSWKtaOr0SEVfPFZKZJ0yLjUikuWQk1xe2g uJn6cerqyl/Gyi4cq1o4Gfkq4cyQeSRDI16Oc9WCRILrmhgIq92KiR21eOChXsVG0Fl9YeFUM/Rn1 73yESvdrA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuMOU-0000Xe-3R; Tue, 29 Dec 2020 21:19:02 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuMNE-00009r-Fh; Tue, 29 Dec 2020 21:17:45 +0000 Received: by mail-ed1-x535.google.com with SMTP id u19so13755835edx.2; Tue, 29 Dec 2020 13:17:44 -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=Ly6Os6k6N2Ri2J9ieGw5EEhVNhuWAlWHSrjzUJz6NSc=; b=Qt21tKtjFsWYdLlcRf8YmQXkV8zPiv4N8uyDheJRAHYoidKYbk9urIq6DoTjn/NUgk 7/W8+auhkQYLhWmyjDxR9X3yowckpAtR7dRI5kDfRgTMdYWOZGJLKh3PhYdolgs6ha06 QiLDE+mo42+lN9biQ23Z1oB3duuRK11Kc1k78caCxkAiEAzfAmPrpVWVXmrU5GiOWTTH jRy3jVNfoGkhmlBHZRTeaJVDgkFvEAdK9tff1SBJFTCl+5wLDsBScyEIsvgeT/w3EZbC UjUbCE0AhXDg0IjUQQSe54UOLI9p93/eObBebGwlG58U5ar97+hPsHEPBvuvVAezNqAW kyRQ== 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=Ly6Os6k6N2Ri2J9ieGw5EEhVNhuWAlWHSrjzUJz6NSc=; b=knzEhYvflc5cwfLJz0JEylYPjGHwCt+FHB5d2L8ezUb+Xr2SowoMJpSNjBIFlVpXrU pqLtLFzEbz9QFSCUrb6kBsbv4VvRUQFfJvIEvyMP0m6/8bWcdZF/TLEVr5uI+MelUbgv l6kde3wwx/4KuEm5POBTqaXXR7bfDsI4wwwKceYDBVuSUuVVL8zXPwJrVoZnLDQwcnQA Gt+DLXdZZCqruBXBomVJqHRWlSb1KsdypjuLL8PscsYFBbKO0+UjHkQkG9NZG1arpRFX 5koaSAmaBFHJcP9aeYYQOW6kDShSd2NwzfW+NwRzkTk1vajpgpl0QbSmC5qVVQ7rO253 gG2Q== X-Gm-Message-State: AOAM532qmyTLgyBmGzTw1H6AXicwBfHBtdAxHG6O3u8ZnCns0XfkA3k6 PdIJr2IwrOrcCm3v/scTF4s= X-Google-Smtp-Source: ABdhPJxaK3LnwbcIWRiy10L7zjfGiK6X5x1CZDTEeeYUuX7EGgXteusFQDoAfx0d+wJHLtaWRKcnCw== X-Received: by 2002:a05:6402:513:: with SMTP id m19mr47943583edv.244.1609276663548; Tue, 29 Dec 2020 13:17:43 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id u9sm37354553edd.54.2020.12.29.13.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 13:17:42 -0800 (PST) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Ulf Hansson Subject: [PATCH v3 08/13] arm: dts: owl-s500: Add MMC support Date: Tue, 29 Dec 2020 23:17:23 +0200 Message-Id: <94e75de6c982c842feffcf63c285b55b8c5fea02.1609263738.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201229_161744_607021_69FE74F8 X-CRM114-Status: GOOD ( 12.13 ) 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 Tested-by: Matheus Castello --- Changes in v3: - Added Reviewed-by tags from Ulf and Mani 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"; + }; }; };