Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp767007ybi; Fri, 21 Jun 2019 07:51:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9OkpiGDwxoMogEvaQ2hJRi8mwSZcvX+HnTMhJMby87KMEA4SuRqrWpw81aWbC4cgOAaDT X-Received: by 2002:a63:1226:: with SMTP id h38mr18609635pgl.196.1561128696323; Fri, 21 Jun 2019 07:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561128696; cv=none; d=google.com; s=arc-20160816; b=uvGfgNlyJcv3xeCrXgU1xGZ7DMs0w7Di29pq/t6yFZ+lAyFctBcTLKC5QtIJmZIVy4 UPVR9RKlL/eoMgU0so7Tyb1d6GivfV8d7RcLn8i8yLpQXKVMfhQFywBFNrj8Ustnlas0 QWEhJZOW8GtxFCWbl/o+TP/L86pyOwVFAgQq91nlASUJ0XVEFGsB9LCEFuAaX8Mvb8gS zpIoVIYjjm772bQ3RNjSrBkzAHre3Ka73xXt73QNY80ubherH/dEpuNgiERREaEE9ItP EHNK93q4rPmtGdYIqXqguptrRorGdoDkzEKsZglK1s9r714nNMTOyoiwUazw30OBfE4u 0Org== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ZZpvRfgXUheBHfuAk2fJFbyjGOPB1yCbsnahTGNt+E8=; b=Tpu5v5uqpKg6y6ESkAD0Cpt2hSAp8eVyqSXy09quIhdlzT3uYyo9Vpy8UQrB9nRdgI vwoOtgaFCfUfoMydlm/vjRRDbtbgXnoUl35tuksPJkrntvgcFq2baFEOsu17nhoNfbPZ AF9exH5kdbFzr/AXY2N2By4i0m6ITRA95/5TXuaFVgcHKqRHYUuVV2z/XM495tmm12l0 2ecLdbE1KcjQdJ1JWxW6ftBrwptUzJcNj6MLxB+j6FwEn5f2YuHx76U/lFOICVnERQP4 omxfxMC660UdOBuSuOCFzTlKzkVzc3QrT1SJYdDR9DnUIfdqMPKTMLfPDPrWeG/OG54H Sqkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="CZYcXET/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t64si726556pgd.126.2019.06.21.07.51.20; Fri, 21 Jun 2019 07:51:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@st.com header.s=STMicroelectronics header.b="CZYcXET/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbfFUOvC (ORCPT + 99 others); Fri, 21 Jun 2019 10:51:02 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:29904 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726402AbfFUOvB (ORCPT ); Fri, 21 Jun 2019 10:51:01 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5LEag9T027335; Fri, 21 Jun 2019 16:50:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=ZZpvRfgXUheBHfuAk2fJFbyjGOPB1yCbsnahTGNt+E8=; b=CZYcXET/fKOXQ/igv3GuZrPwANSoLrSM4aXr/Toe1J/RrsWodBqs1BelovZQ4o3IARt8 dK7krBSNZmkd72wIy+I2rIOSTfe/M7jRbYwSSNr/IVxHDJdsgSCO6vtZEe1pNbu79+Q7 ZJDeBwXJ9+D64PW1UjzWPUOU830hXC7VG8Uwt+TYarAqCUhDnGVgd1YggEI36tZLhAo3 Rxcq4iMcXsHXxKGlWNDR9S78kDiuPDMjl84IRaHtr2p/XVLJL/bGp0cz3AAMUWIk0bUa nWrhnTq7HptxZ8XLflvm55GeZAY2nZRu12Hz/d/AzZbWRmZ8HEdQNaYhXZgfyBgL5Men +w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2t781v81ue-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 21 Jun 2019 16:50:45 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2144C34; Fri, 21 Jun 2019 14:50:45 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0226B2BDE; Fri, 21 Jun 2019 14:50:45 +0000 (GMT) Received: from localhost (10.75.127.48) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 21 Jun 2019 16:50:44 +0200 From: Christophe Kerello To: , , , , , CC: , , , , , Christophe Kerello Subject: [PATCH 1/4] ARM: dts: stm32: add FMC2 NAND controller support on stm32mp157c Date: Fri, 21 Jun 2019 16:49:47 +0200 Message-ID: <1561128590-14621-2-git-send-email-christophe.kerello@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1561128590-14621-1-git-send-email-christophe.kerello@st.com> References: <1561128590-14621-1-git-send-email-christophe.kerello@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG6NODE2.st.com (10.75.127.17) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-21_10:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds FMC2 NAND controller support used by stm32mp157c SOC. Signed-off-by: Christophe Kerello --- arch/arm/boot/dts/stm32mp157c.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 0c4e6eb..f2bda28 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -1239,6 +1239,25 @@ dma-requests = <48>; }; + fmc: nand-controller@58002000 { + compatible = "st,stm32mp15-fmc2"; + reg = <0x58002000 0x1000>, + <0x80000000 0x1000>, + <0x88010000 0x1000>, + <0x88020000 0x1000>, + <0x81000000 0x1000>, + <0x89010000 0x1000>, + <0x89020000 0x1000>; + interrupts = ; + dmas = <&mdma1 20 0x10 0x12000A02 0x0 0x0>, + <&mdma1 20 0x10 0x12000A08 0x0 0x0>, + <&mdma1 21 0x10 0x12000A0A 0x0 0x0>; + dma-names = "tx", "rx", "ecc"; + clocks = <&rcc FMC_K>; + resets = <&rcc FMC_R>; + status = "disabled"; + }; + qspi: spi@58003000 { compatible = "st,stm32f469-qspi"; reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; -- 1.9.1