From patchwork Wed Dec 15 10:58:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 12696249 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7794EC433EF for ; Wed, 15 Dec 2021 11:04:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SV5jCJEB6hwNIwRuUBt9Mdq0Z3wIfX1Iqw3n1NxzsCA=; b=wttrhkOJu2CM9v U49NrbxFE/SGi74gcv+dzNVe1aMSN/vBWQa8IyGt2NpW7vUPtMC19Wiq5EuWBm2f03Kz6rCIiEGFv xSpIl0JMlb/4hEtqQjKyhfQXjJ58+hobpVq9djQU17b1C52P2Voeo+Vu1XUn0+jgQhO8xp2TrrUr3 peIRiMjfGrLX5bM+JAnjih9qSW9t9V5Oq1kB2ehgaHXFtT/ar49F6BQ8i3XbQOgBjYvxRKSN72+SF vW8Tr3Q5JpKZX7hPfbPc5H1rKxItHaPpFnySFSiCD1JH55qz0A6R3gL4qtZ8TKDPHauTrwF9l3Mnd gK4Em3FP1t67vNSnX3YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxS44-000N2p-Pg; Wed, 15 Dec 2021 11:03:17 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxS04-000LDx-K5 for linux-arm-kernel@lists.infradead.org; Wed, 15 Dec 2021 10:59:12 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1BFApqsw009716; Wed, 15 Dec 2021 11:58:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=j3ZAzLhBf1EAY2batIvV+2YWdz8loTLk56MME0Z1fhE=; b=MC8gqmtlYbJFBLtJXVHIP7KljPAF9xs0KlKc1aC2jmQGVba6TWuqAtptjiTDn6zLTFNC rKE/yrRINbqKlCs6iTXb+bL3rL17QbV8H/IjIRS0B4kkNyHbJK5Rrn0NjujUTSCkCU01 YL31i5kl5K9avKUwsFqgC4TXTPPJrzhUuqP0ClhGXgOog8tr+21LIKmP9Vq9go++uXgx TIuB3Ar9vUsLIxGEKysqoPMNEaGeacOyPTmXwWBvSEfhlWYWsMj5hZtadECBDzCU8qds t/5v3LTy5dzvcyxokrG61KxTRg7zoA6Gvv0LAvV5wEA0+zKs7+Zz12Z7QUcYHhfh3rSo CQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3cyasn9w6q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Dec 2021 11:58:55 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4AA7F10002A; Wed, 15 Dec 2021 11:58:55 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 42552235F6C; Wed, 15 Dec 2021 11:58:55 +0100 (CET) Received: from localhost (10.75.127.50) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 15 Dec 2021 11:58:54 +0100 From: Alexandre Torgue To: Thomas Gleixner , Marc Zyngier , Rob Herring CC: , , , , Subject: [PATCH v2 5/5] ARM: dts: stm32: Enable EXTI on stm32mp13 Date: Wed, 15 Dec 2021 11:58:47 +0100 Message-ID: <20211215105847.2328-6-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211215105847.2328-1-alexandre.torgue@foss.st.com> References: <20211215105847.2328-1-alexandre.torgue@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2021-12-15_08,2021-12-14_01,2021-12-02_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211215_025908_981629_8C47EAA0 X-CRM114-Status: GOOD ( 13.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable EXTI hardware peripheral for STM32MP13 SoC and define EXTI/GIC mapping. Signed-off-by: Alexandre Torgue diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index 86126dc0d898..5bd384295619 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -4,6 +4,7 @@ * Author: Alexandre Torgue for STMicroelectronics. */ #include +#include / { #address-cells = <1>; @@ -115,6 +116,52 @@ status = "disabled"; }; + exti: interrupt-controller@5000d000 { + compatible = "st,stm32mp13-exti", "syscon"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x5000d000 0x400>; + st,exti-mapping = <0 6 STM32_EXTI_TYPE_CONFIGURABLE>, + <1 7 STM32_EXTI_TYPE_CONFIGURABLE>, + <2 8 STM32_EXTI_TYPE_CONFIGURABLE>, + <3 9 STM32_EXTI_TYPE_CONFIGURABLE>, + <4 10 STM32_EXTI_TYPE_CONFIGURABLE>, + <5 24 STM32_EXTI_TYPE_CONFIGURABLE>, + <6 65 STM32_EXTI_TYPE_CONFIGURABLE>, + <7 66 STM32_EXTI_TYPE_CONFIGURABLE>, + <8 67 STM32_EXTI_TYPE_CONFIGURABLE>, + <9 68 STM32_EXTI_TYPE_CONFIGURABLE>, + <10 41 STM32_EXTI_TYPE_CONFIGURABLE>, + <11 43 STM32_EXTI_TYPE_CONFIGURABLE>, + <12 77 STM32_EXTI_TYPE_CONFIGURABLE>, + <13 78 STM32_EXTI_TYPE_CONFIGURABLE>, + <14 106 STM32_EXTI_TYPE_CONFIGURABLE>, + <15 109 STM32_EXTI_TYPE_CONFIGURABLE>, + <16 1 STM32_EXTI_TYPE_CONFIGURABLE>, + <19 3 STM32_EXTI_TYPE_DIRECT>, + <21 32 STM32_EXTI_TYPE_DIRECT>, + <22 34 STM32_EXTI_TYPE_DIRECT>, + <23 73 STM32_EXTI_TYPE_DIRECT>, + <24 93 STM32_EXTI_TYPE_DIRECT>, + <25 114 STM32_EXTI_TYPE_DIRECT>, + <26 38 STM32_EXTI_TYPE_DIRECT>, + <27 39 STM32_EXTI_TYPE_DIRECT>, + <28 40 STM32_EXTI_TYPE_DIRECT>, + <29 72 STM32_EXTI_TYPE_DIRECT>, + <30 53 STM32_EXTI_TYPE_DIRECT>, + <31 54 STM32_EXTI_TYPE_DIRECT>, + <32 83 STM32_EXTI_TYPE_DIRECT>, + <33 84 STM32_EXTI_TYPE_DIRECT>, + <44 96 STM32_EXTI_TYPE_DIRECT>, + <47 92 STM32_EXTI_TYPE_DIRECT>, + <48 116 STM32_EXTI_TYPE_DIRECT>, + <50 117 STM32_EXTI_TYPE_DIRECT>, + <52 118 STM32_EXTI_TYPE_DIRECT>, + <53 119 STM32_EXTI_TYPE_DIRECT>, + <68 63 STM32_EXTI_TYPE_DIRECT>, + <70 98 STM32_EXTI_TYPE_DIRECT>; + }; + syscfg: syscon@50020000 { compatible = "st,stm32mp157-syscfg", "syscon"; reg = <0x50020000 0x400>;