From patchwork Fri Jul 23 13:28:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 12396133 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.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 1057EC4338F for ; Fri, 23 Jul 2021 13:32:24 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C136C60EB1 for ; Fri, 23 Jul 2021 13:32:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C136C60EB1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=Otnn6LEe+/fMmL1HaEJ0ToLnAs4GSDZOPr2o3Kl5dOU=; b=PuzJ/pqq45o/hE NqtafxWH2afKAKEIIH6A8wVzoOQKrWAchfosPHKKcfMNFPcaAVBIGAemJgHphhup5lvV32WoWlwOa 9IzX/2s1MjC65vpPQRmxwNXHH7jxGI7VGvrpTcaVFFKzq1sw4UEAcYOAm8sCMjfmfrR9Otcz6GXKB r5MckPVILW+rGMFz1MVh/LIYFya4yc2fwWyf7viVrf0VjZrJbNoIOzJxK6zzr/uEfOzpsxe8CWVap +qR4o5dvEVIXvyGR+BEW/cLFNuKUHNmF1FA75/X4M+Ij332O+7nrdJgSBmZmnvfj68v9GOqMi2bJm w+bxp+dD368us7zPJ6IQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6vFF-004pVM-2L; Fri, 23 Jul 2021 13:29:41 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6vE4-004pBq-UJ for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 13:28:32 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16NDBteQ019257; Fri, 23 Jul 2021 15:28:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=MUAtxLw5YE6dxhI6YPXFTUgkT/7ZSF+QpIC31xJ048M=; b=RLamMOpv+5yovFlYJcwJNIqn1euAt0ebyf4j7MXv2WTu7xA78xe+dQYFNYmxnQvnFJ63 So+YpV6PX9fxp+cAN3AIldO7aiI3pl+L4S7rNyVjqjhjcfHd/Y+GNgKE9rXqgDbfALq/ HBvQ3Gvs0G0incbijACKeO6uxytvv22lLKEiHXplBxXoKc4u0bCShky/e1yejM9SzJIL QoCXQ6uizuiwvVU7Sy/wMboxkIXk7EQh3whZ3MYDeiuPNSWEIJXZ0+YFSiWDZicmLM/B EIU1Hvy+NEhCSfTkVExjKmiayejOX0OCce2WZI5D+WDroBAFJg2GRxvQk9d2AiHY6JP7 9Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 39ypq8jp07-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jul 2021 15:28:14 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F164A10002A; Fri, 23 Jul 2021 15:28:12 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id BBDA7221783; Fri, 23 Jul 2021 15:28:12 +0200 (CEST) Received: from localhost (10.75.127.46) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 23 Jul 2021 15:28:12 +0200 From: Alexandre Torgue To: Linus Walleij , , Olof Johansson , , Russell King , Jonathan Corbet CC: , , , , , Maxime Coquelin , Alexandre Torgue Subject: [PATCH 0/7] Add STM32MP13 SoCs and discovery board support Date: Fri, 23 Jul 2021 15:28:03 +0200 Message-ID: <20210723132810.25728-1-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-23_05:2021-07-23, 2021-07-23 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_062829_359159_C99DE174 X-CRM114-Status: GOOD ( 16.77 ) 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 This series enhance the STM32 MPU family by adding STM32MP13 SoCs support. It adds machine support and device tree diversity to support the whole stm32mp13 family (STM32MP131/STM32MP133/STM32MP135, plus security feature diversity). Basically STM32MP13 SoCs embeds one Cortex A7, storage (SD/MMC/SDIO, QSPI FMC), network (ETH, CAN), display (DCMIPP, LTDC, ...), audio(SAI, DFSDM, SPDIFRX), com (USB EHCI/OHCI, USB OTG, I2C, SPI/I2S, U(S)ART). This series also adds STM32MP135F Discovery board support (stm32mp135f-dk). It embeds a STM32MP135f SOC with 512 MB of DDR3. Several connections are available on this board: - 4*USB2.0, 1*USB2.0 typeC DRD, SDcard, 2*RJ45, HDMI, Combo Wifi/BT, ... Only SD card, uart4 (console) and watchdog IPs are enabled in this commit. Note that file stm32mp135.dtsi doesn't define nodes but I add it now to ease adding of new nodes in a (close) future. regards Alex Alexandre Torgue (7): dt-bindings: pinctrl: stm32: add new compatible for STM32MP135 SoC pinctrl: stm32: Add STM32MP135 SoC support docs: arm: stm32: introduce STM32MP13 SoCs ARM: stm32: add initial support for STM32MP13 family ARM: dts: stm32: add STM32MP13 SoCs support dt-bindings: stm32: document stm32mp135f-dk board ARM: dts: stm32: add initial support of stm32mp135f-dk board Documentation/arm/index.rst | 1 + .../arm/stm32/stm32mp13-overview.rst | 37 + .../devicetree/bindings/arm/stm32/stm32.yaml | 4 + .../bindings/pinctrl/st,stm32-pinctrl.yaml | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/stm32mp13-pinctrl.dtsi | 64 + arch/arm/boot/dts/stm32mp131.dtsi | 283 +++ arch/arm/boot/dts/stm32mp133.dtsi | 37 + arch/arm/boot/dts/stm32mp135.dtsi | 12 + arch/arm/boot/dts/stm32mp135f-dk.dts | 56 + arch/arm/boot/dts/stm32mp13xc.dtsi | 17 + arch/arm/boot/dts/stm32mp13xf.dtsi | 17 + arch/arm/mach-stm32/Kconfig | 8 + arch/arm/mach-stm32/board-dt.c | 3 + drivers/pinctrl/stm32/Kconfig | 6 + drivers/pinctrl/stm32/Makefile | 1 + drivers/pinctrl/stm32/pinctrl-stm32mp135.c | 1679 +++++++++++++++++ 17 files changed, 2227 insertions(+) create mode 100644 Documentation/arm/stm32/stm32mp13-overview.rst create mode 100644 arch/arm/boot/dts/stm32mp13-pinctrl.dtsi create mode 100644 arch/arm/boot/dts/stm32mp131.dtsi create mode 100644 arch/arm/boot/dts/stm32mp133.dtsi create mode 100644 arch/arm/boot/dts/stm32mp135.dtsi create mode 100644 arch/arm/boot/dts/stm32mp135f-dk.dts create mode 100644 arch/arm/boot/dts/stm32mp13xc.dtsi create mode 100644 arch/arm/boot/dts/stm32mp13xf.dtsi create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32mp135.c Acked-by: Arnd Bergmann