From patchwork Fri Jan 29 07:34:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 12055393 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_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 F02EEC433E0 for ; Fri, 29 Jan 2021 07:38:06 +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 A0B6A64E03 for ; Fri, 29 Jan 2021 07:38:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A0B6A64E03 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=me.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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=6Hc/hWA04nTqkoxVl3yNtI5+xUBQOCIaJmZMnSvVCQ0=; b=EvZtktEjrYkuzydNNmA4b39w8K bsQDsG2596U399c2dnkH8VvvWRMXya5VReBuoXeItMq9o6IwEOaTELMRc4B51Qq6T6BtGRpZEL1CQ pSzD85aJIc+BCRQ3ETOGlb4zfT9LRr5nPp0dEIurSqVAQZOiD5ltvunR3BNIU0iDjpxk6KyUj/OvI J2vnOTeDFuU4Eac1iOP3+NQmU6LXRY1K7E943xKRaem96TTYIk4Srl3KKuRb3PWe8ZMrj2sSpMXUW CmQH8aKOVE27YTvXjQYucz88QQ6FdwQ30anL+q/H3B0qhtymdfvMPPhD+45cB9tGDeQDBDOdWV7kp QuSyq77A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5OKc-0003CG-9u; Fri, 29 Jan 2021 07:36:38 +0000 Received: from st43p00im-ztbu10063701.me.com ([17.58.63.178]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5OKD-00031L-7x for linux-arm-kernel@lists.infradead.org; Fri, 29 Jan 2021 07:36:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1611905748; bh=9rsRDeYyP6mevg5eT1EqueiLtS/VAtq14uRY9n3RQt8=; h=From:To:Subject:Date:Message-Id; b=uMepP64XF4Vy4Z0EbwIORVCQW36/Q9H3dLRmrY7sajIDz6cbnlc9zT3R6rD/o/2QL J2vuEXdF0SUeeaZUSRiGlQDFayFsXakOw3ZrdFv1UTb0HM8QylMK446BKylqokPsyl IwWSmp/7jfTi5POwcjVwa30kT+kdEI0IDkGKq7cyPcmNss2V7miSuOnoSgEzYE0q8U 4epvUrO+cfRtEDDyFHEdQ5kNe7JpXQg4+sHli+5JZJixXsjr2UmOYperKw2cIHIJTF 5DGK0xsXPAlQ1sSHXmLRYUdF7cDQxnPtYS7GvCuYK7nK6FMTzmwh/hcrTePzeQbPCt F8brPCw20j6qw== Received: from localhost (101.220.150.77.rev.sfr.net [77.150.220.101]) by st43p00im-ztbu10063701.me.com (Postfix) with ESMTPSA id 7154F9A01CE; Fri, 29 Jan 2021 07:35:27 +0000 (UTC) From: Alain Volmat To: Patrice Chotard , Rob Herring Subject: [PATCH v2 1/3] ARM: dts: sti: add the spinor controller node within stih407-family Date: Fri, 29 Jan 2021 08:34:45 +0100 Message-Id: <20210129073447.18778-2-avolmat@me.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210129073447.18778-1-avolmat@me.com> References: <20210129073447.18778-1-avolmat@me.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-29_03:2021-01-28, 2021-01-29 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2101290039 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210129_023613_437658_8018BF84 X-CRM114-Status: GOOD ( 12.71 ) 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, avolmat@me.com, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The STiH407 family (and further versions STiH410/STiH418) embedded a serial flash controller allowing fast access to SPI-NOR. This commit adds the corresponding node, relying on the st-spi-fsm drivers. Signed-off-by: Alain Volmat --- v2: commit log improvement arch/arm/boot/dts/stih407-family.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 23a1746f3baa..21f3347a91d6 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -616,6 +616,21 @@ st,lpc-mode = ; }; + spifsm: spifsm@9022000{ + compatible = "st,spi-fsm"; + reg = <0x9022000 0x1000>; + reg-names = "spi-fsm"; + clocks = <&clk_s_c0_flexgen CLK_FLASH_PROMIP>; + clock-names = "emi_clk"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fsm>; + st,syscfg = <&syscfg_core>; + st,boot-device-reg = <0x8c4>; + st,boot-device-spi = <0x68>; + + status = "disabled"; + }; + sata0: sata@9b20000 { compatible = "st,ahci"; reg = <0x9b20000 0x1000>;