From patchwork Wed Aug 16 12:24:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355135 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 C8C5DC41513 for ; Wed, 16 Aug 2023 12:25:44 +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: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=aJJK8RPtFQHG//JwTSVuzyZW1N//K3+XvdTZQVDPDq8=; b=GvAw5Coo7mDnsh qasY346yTEMDwad1FB7vFtiEH6Uz2VCfgINRylaBj9Rrb3dmN43n1slrjx39e6SohEB9n0yA0hugd hI/cB1jVnzamsGTS2UJHijIHdiQK4Ef7OIF2rsrICcaTRBD2EatC67W7dGZt1/dm/CG5/5Jwv+6OB wB7/gWOvyYUk3Jj4NtCj+A5O2t7AdxhNRS+DKNXW1B4a3V3OHdLpuQSknDJgNsdp3XGa4IKKdTSHM Cq0nYT/wjEb0dANbg6/+QgS9yEiyLtApJfEosNWItalbs+YL8hkOUHJE0+U/JVqZUX2UqvMJlN4VH nD2ao2+tGE+j0XBNfnmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaO-0048Eu-1m; Wed, 16 Aug 2023 12:25:16 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaK-0048Bd-13 for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=Kf3+Ik/2/DpWB4G4xK9ar2JSB/p+JlR316Rf+SkYxiM=; b=vyIooF4vj53zJhk4J8x1/dKc8Q BsFkhbzK1crCL+LxN2S4iQRIsOrYn1uTtHU29w3ySbHOZ5j1VoTFLmtn+5FKv/Bw/BnOOaL5LyPfI zvwGD6q10hjiTKFs9g43vEkiPQQAMBTm+QJl29lql7uCYB7c53ppwoGVal4dpLaFwn4Sau7kmIZfH 8DX7uh73vLwl1aq5Eouxh0B0NkcKwX5cnI3vV37ohdtwC3FQvU7bacAt0MerGbzipgMYjIr/hFr7l /RGgq96Tf8xSa/en3UipYQ1RLxOcT1OONdAue3ZvQyj2QagkVICmMLAqgajnusllPqnfkb2QSdpa1 wtSYuj/g==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaF-000NAo-JG; Wed, 16 Aug 2023 14:25:07 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaE-000HIl-PR; Wed, 16 Aug 2023 14:25:06 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 1/9] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Wed, 16 Aug 2023 14:24:21 +0200 Message-ID: <20230816122435.3153513-1-sean@geanix.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052512_683527_C29E72DF X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. 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 Add another mux option for i2s pins, this is used on Octavo OSD32MP1-RED board. Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi index 098153ee99a3..92726ad7285f 100644 --- a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi @@ -787,6 +787,25 @@ pins { }; }; + i2s2_pins_b: i2s2-1 { + pins { + pinmux = , /* I2S2_SDO */ + , /* I2S2_WS */ + ; /* I2S2_CK */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + }; + + i2s2_sleep_pins_b: i2s2-sleep-1 { + pins { + pinmux = , /* I2S2_SDO */ + , /* I2S2_WS */ + ; /* I2S2_CK */ + }; + }; + ltdc_pins_a: ltdc-0 { pins { pinmux = , /* LCD_CLK */ From patchwork Wed Aug 16 12:24:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355143 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 4D3B0C001B0 for ; Wed, 16 Aug 2023 12:26:27 +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=318ez/6MZL6WVx0448Ylb3ncgHBzz2MqyeG5T9nm3FM=; b=RuEbzdgBpCiVm6 ltz4h2saY2zgmsiAKFodXPw21Ri7tH4VvABF9bm3/LC3aRzvNCx5/wjUNeyUW4lD4EOvivB5hTHNk diow+nSvd4U5KNqYXDOeIdSxNoypzpSsdDHESuD+0q8ibuVKZhuM3d/y8Eangd9jMI8uVqHRvqDEa KZy2Ix8XkLJ69ItkgfBnxqfhBJU8H+aG3TVzRLTabb4CGUffLZFZzs6G7f4vITIWX6PVQHQ4XMfm1 BzfZuEaoRpA+ayN3tqgcI506/6mXtro24wyJCKMNysrj+kIppxwHdjJOBPbOKzOMUTqeyKf0K4KCC KExUHLiUyepY+5ukhXMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFb7-0048X3-31; Wed, 16 Aug 2023 12:26:01 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaq-0048P3-1f for linux-arm-kernel@bombadil.infradead.org; Wed, 16 Aug 2023 12:25:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=HLDMsghpnw66dVGozGoVM7O7yXEfpJtkxJJsW2ConuQ=; b=jSr9KXEBaX2XkycOvotX2a7L1E FU//ntnlk1b85bXA0mXKXLMSAGNDd3KiDJsvvnMCNI2inaXk9dOI0WXKCprXOl2BLDj1yv2lE1kUU 0X8j4ojavXTj/LDq1rbvyLIWg5XnaUDDbxg+AbITtBRFQ9yDDzTUiEQf02W5kzCAYflAEBJLUOldz oxyQGQa3sA40mFzhpmJPAV3y1ACScL3D1jnFmUq7aVjNhIgo9fLQpiQm4cnUthr50DwgCQR0gFwnm V/JIx4CFh4AP65gRDu0KyYahhxSt47kZZ2NrIAoplTSer6QdLCn0a6P8zaQCUYiFWpLVlYY5F9t7p cHfxWYcg==; Received: from www530.your-server.de ([188.40.30.78]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1qWFal-00Edqm-Ih for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=HLDMsghpnw66dVGozGoVM7O7yXEfpJtkxJJsW2ConuQ=; b=SE5ILUjE5BWyEpZgseEuUzLLFu v84lmpwj5VIqp+oAkeyIHbKU94ToWXNp/YJh14Mj69gVlXpVNt9tKvVrXmVzaXWenmFOHibyQqTf+ HvKwU0IkPHS5lfkyu+9fKK4xMdBbbvVAexufZnVun7VHQyKOJVA8yVkp+UYiI2YXylJ+4u7mbohqO oNSddsBfu+mBZTgxqE8QBCJvo5DkYLB3ztmMR2IaCf/RFWsTt+QsRkOKqf8zOSpq76fBprbUfU1fB oSS0Njo5zidM1OWyk1aZ8IJh49XYHRutWpPDdbzW/WoE5XuoC/B63tRIJQo2kpNVaOkllB9z6Mwsq CEgrMuDA==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaG-000NAw-HO; Wed, 16 Aug 2023 14:25:08 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaF-000HIl-L1; Wed, 16 Aug 2023 14:25:07 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/9] ARM: dts: stm32: Add alternate pinmux for ldtc pins Date: Wed, 16 Aug 2023 14:24:22 +0200 Message-ID: <20230816122435.3153513-2-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_132539_733217_8CC278ED X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. 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 Add another mux option for ltdc pins, this is used on Octavo OSD32MP1-RED board. Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi | 75 +++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi index 92726ad7285f..5de4ec547411 100644 --- a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi @@ -1080,6 +1080,81 @@ pins { }; }; + ltdc_pins_e: ltdc-4 { + pins1 { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + ; /* LTDC_HSYNC */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + + pins2 { + pinmux = ; /* LTDC_CLK */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + }; + + ltdc_sleep_pins_e: ltdc-sleep-4 { + pins { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + , /* LTDC_HSYNC */ + ; /* LTDC_CLK */ + }; + }; + mco1_pins_a: mco1-0 { pins { pinmux = ; /* MCO1 */ From patchwork Wed Aug 16 12:24:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355137 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 5C990C001E0 for ; Wed, 16 Aug 2023 12:25:54 +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=l67pkAZyL+1eWJ8oFOrI1oS5/rb8G/6WBpKRxQEgrB0=; b=oL3ipJIobBH2Ob Dsl1VbDwntrtIjuxPY7k4o7/4+G0i3aSqZpmUeCWry1aVPemHV66eeK77Yfn1sc6NKVz+jmdJib1c cchvLW34rmisBSq+Dg7zsHxO+L3tIG+vqvUNXZqrFaAk+hOrMz5qKmXNWCQem7csqteRS3L8yQqOO ocvcXoHHpoYbNr3ohjoHmxZs072reHq+gzoBukYr5uicDrL84a/e6IC7IXGTh36uh8gMF9JPIydka 6lPmE2K9GBwWQrqtO/Q6nTNBWbGhkaPCz1Ba4Yq4aXvus569ozQZ6IB0zUDqOkFxTpHAlk9Y1Qvah f0den+4rZL9135F+WMig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaa-0048Hx-17; Wed, 16 Aug 2023 12:25:28 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaK-0048Bf-13 for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=rAqWl90II59YkZh2JTtIa+gbebjU12GFjSO/ULax1r8=; b=iyEy4UiY03pl6gvSnYzv4dlv3v VYa2xc/WnfIkpGJTezJwmg9xpZI6ZG6j+gsMXQ6pQjPNMH78Ord1Vb4JONp/tZAZLBML6a4gPROry SiiOFSSprhbSMxiH9tKx+l9oQc7y+FVTQP+zWAZV/BkrkPR7+yEHiXq7czc291GoU8kQSciujt4MY 8xLynzRvy2374+SewLhX/vv5FLaFRm4e3PUmxDYyG/US4JI3EQqN8lannt3mJ+Wu6qjR/TzQwJGPI dn49cRRHYSr04OU+FtxZ98uAs8URgY5z2nAe52WMTwIayvxb30GjpRLF2+Ece93j6JdjAj92nTJpe l56KMmdg==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaH-000NAz-6k; Wed, 16 Aug 2023 14:25:09 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaG-000HIl-Fz; Wed, 16 Aug 2023 14:25:08 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 3/9] ARM: dts: stm32: Add alternate pinmux for can pins Date: Wed, 16 Aug 2023 14:24:23 +0200 Message-ID: <20230816122435.3153513-3-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052512_667680_B1ED0702 X-CRM114-Status: GOOD ( 10.05 ) 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 Add another mux option for can pins, this is used on Octavo OSD32MP1-RED board. Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi index 5de4ec547411..5af271e7f739 100644 --- a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi @@ -1245,6 +1245,26 @@ pins { }; }; + m_can1_pins_d: m-can1-3 { + pins1 { + pinmux = ; /* CAN1_TX */ + slew-rate = <1>; + drive-push-pull; + bias-disable; + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-disable; + }; + }; + + m_can1_sleep_pins_d: m_can1-sleep-3 { + pins { + pinmux = , /* CAN1_TX */ + ; /* CAN1_RX */ + }; + }; + m_can2_pins_a: m-can2-0 { pins1 { pinmux = ; /* CAN2_TX */ From patchwork Wed Aug 16 12:24:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355140 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 48825C04FDF for ; Wed, 16 Aug 2023 12:25:58 +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=TUW4/T64trU8/5lIhTrzKXld+mY36OLZhs233e27aQ0=; b=uxYRTfNuNXJh5B b2rE0Q5nI3iYqyaMkAhZOvJlBePeXTNx58y2oQNoIY/OzLdDFDzzpNA/IvhKqGCHcuRJEZFWD0mjN EmWuQnN8CWiTsBTeGiGEow1Gbp6MPQlHIkJQnCSIhM4wg4om4h9xmrnQuSxtqkjIFDodgm7ytru53 IgeSWC1lSgRORd0Lz6A/5hEOcGiosDhIu09rHXJsapmbC1rvcIQ8y6ABaTrw2Hic+HvZsmDJ9Erog cmd+cdz/J4ipjeOunLCABHg1r4ezDtBwI0qVLl1DtjpZfxgumLuM7mr1XjJcg2s7hw9Y3cVkDPdDx U3Sq17gtX26hB1jGqSjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaa-0048IV-30; Wed, 16 Aug 2023 12:25:28 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaK-0048Bx-14 for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=LzBs5x2bxaqE2KjGKiGXFs/ilJXvz0cJNjqVJneRJKA=; b=HT/wu1lr5rqPmsVnClKpXGDg1N WJjY+GhAfIPVVZAbpCvP0H5Nqn5EJaxN38c0HIzma/4WB3h64y4dtN10tHgvOVOzB3w1F5jHbA0ww pCXo+ayOQRbWfPPiRJ8TT2HX5BmBB8tpbyXnXwPgt6+/K4qpV57n6YhW8pm30FXZ71ykagpddr2Ki ej2XILqJNmkYqydNDmKjh0HI4333lIJ3+PjzRfJ9hJyBCqPdqjBBUcTn4rokdS+L1zoDyVrdlDXbw imez/rFmqrdNlyDt7VeCvztdZzOZwH70NllIWQVlJbk+wWSkMmKwykvNW92F2l/RHRWT66W3tfxSv /m+fcj8Q==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaI-000NBA-4i; Wed, 16 Aug 2023 14:25:10 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaH-000HIl-AH; Wed, 16 Aug 2023 14:25:09 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 4/9] ARM: dts: stm32: osd32: fix ldo1 not required to be always-on Date: Wed, 16 Aug 2023 14:24:24 +0200 Message-ID: <20230816122435.3153513-4-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052512_701206_97378CC3 X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. 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 According to the OSD32MP1 Power System overview[1] there is no hard requirement for the ldo1 to be always-on. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer Acked-by: Leonard Göhrs --- arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi index a43965c86fe8..eb43a1e3a0c9 100644 --- a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi @@ -117,9 +117,7 @@ v1v8_audio: ldo1 { regulator-name = "v1v8_audio"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-always-on; interrupts = ; - }; v3v3_hdmi: ldo2 { From patchwork Wed Aug 16 12:24:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355136 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 B48CDC001E0 for ; Wed, 16 Aug 2023 12:25:44 +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=4S0iQZo8d7+1sBm0ztFHDNCErqwolFZ3AmXkoa/xjBU=; b=zosRkv/Z7lhXV0 UVs7bgczLaC7My06Qr5V5BuOg/BvSbZ4N2HKTsOZBBHy9iE/8PX/R8J/hbDnmaBQpKQGg/OYXtn+B VJ/kV+qqpFAP+nvkv2/49Ze5Jgwv4LsQH+fI5YpD2KZrgKNxz4BAybRLqj8sVfyFEgUjT4V7Tbpwm O2uyN4sL8w7MfWkYXzVIfj3b3cqVSOUrVccGE/zjn4vPAjkxmTKHZtv/cRUEDRs28InicMS0T92ZL BF41/B2tUsokNiGgR6sgNiNZ0bfrlIEfMqqwjF0OoGFqJjaJ1iMTuB2F6hSnCu6JUzFo8kRuNS/2L +zbb5E7JueBbJl1gjubg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaN-0048ER-2p; Wed, 16 Aug 2023 12:25:15 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaK-0048C0-14 for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=4DazX9eS7z6S0Y9/ixJPGOqmAYYUyd7bfz0vK4l0qWc=; b=lc/2tatXOR+VZnA2Id51TlGTHp cabyUwxPJgb/1MWlD7pgZclu64TdgoMiQbCiRsON26lmyUbysBpfHCz3astNp14z6VjuV08tWJ/YO sL1lATPTMdStvD+8Crp2X8kcQlQBOQKYElAkp9t+LtFCnOxf7G2muEC/wKfnfieXrV16ZEX4ns2Yl l5ZtnSHxNYTAYPZGcBmHZRW395/7zr6lI9qUTuyWl0nddQjTc3t7pRvwhFlCy4eSWdBm/WLVmNJQh 4+a/+jj9aYPK2arXJPGyRdJGhZWvcJlN/OVFtXT9PgV26zBKiYF+lXd2xS7l1EptCKRXF5eg3hhrq 2hYaSdDA==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaI-000NBJ-QP; Wed, 16 Aug 2023 14:25:10 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaI-000HIl-3v; Wed, 16 Aug 2023 14:25:10 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 5/9] ARM: dts: stm32: osd32: fix ldo2 not required to be always-on Date: Wed, 16 Aug 2023 14:24:25 +0200 Message-ID: <20230816122435.3153513-5-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052512_674110_C7DDF92C X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. 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 According to the OSD32MP1 Power System overview[1] there is no hard requirement for the ldo2 to be always-on. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer Acked-by: Leonard Göhrs --- arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi index eb43a1e3a0c9..902ca6c23533 100644 --- a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi @@ -124,9 +124,7 @@ v3v3_hdmi: ldo2 { regulator-name = "v3v3_hdmi"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-always-on; interrupts = ; - }; vtt_ddr: ldo3 { From patchwork Wed Aug 16 12:24:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355139 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 E0383C001E0 for ; Wed, 16 Aug 2023 12:25:56 +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=MaxGKNCXPh2PoTWOG5r4yqjxjKMAa4YemuBOPDL6A00=; b=2L7JnvLPbOyMvV WTdMFQI610NkotFeU9cFVCrUo1ZS3i+WwZcRQqZJeONCu1J+Ovenym8n7/ea3dwMLFdt9F3N7pAMF GWZndqYnPgMpqRabCyNrSRHkUkuaWEoFws0RE/5nXQzkSNOAx4kR7ucGV77l9vwSo8h63UY67j/cb tkh/zag/s24Ap55aOxsVUPDonMIerFTQd/gYRNCYMbgI80EYmnnQfhI9Vkqcq4EfoEyd9b4s/f0IF mit5YSBXFWaZTmC4VLhZgJn45NyCs8cdJ6r62bFWZraYFe4ZtKWtaqD5eq21aV1snVMEkxdNAP2cX f+nlq4lHoz8X+uEwiV0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFab-0048Iy-1X; Wed, 16 Aug 2023 12:25:29 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaK-0048C2-3A for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=dT6ml4LXf22ePqZHK2khUGDbRoOBY96qJUNfhLn+GLA=; b=Kl6tOVaBHAfcuRVbRVf861SoT0 i5to4XdZG+i6Or25Gm/i6iOKXdQJDuXUsMiEE/2LrhxBwsmR3m8/4U4Ct9jG4NJFojoF0b4odJ2og lMm7QhIfvtavZiGIEJRUPQCxi2RdcwpOwQcYyxcFzM7N5MjkuApBzAjmndHvfGf8CSfuygFnxUgVl c1lpuhpKEH0UYy2Pju8UIGDPsohrUjPmbZ+7M2PoOvHY9HeebM1hqtF2xVkyPRm6yY1NT8Idwcj6k L6DICQf2jVkRyJWc9ZwFLmAj3Z7BQRz1PYIwBTKJV1nWuuAeFOIGb37BXjZOOhhX18rfy9nlSwHZO 7x03JbcQ==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaJ-000NBk-LV; Wed, 16 Aug 2023 14:25:11 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaI-000HIl-Tr; Wed, 16 Aug 2023 14:25:10 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 6/9] ARM: dts: stm32: lxa-tac: remove v3v3_hdmi override Date: Wed, 16 Aug 2023 14:24:26 +0200 Message-ID: <20230816122435.3153513-6-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052513_015495_1DF08815 X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. 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 Patch "ARM: dts: stm32: osd32: fix ldo2 not required to be always-on" is making this property delete obsolete. Signed-off-by: Sean Nyekjaer --- arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi index 184b8bb4ebbf..f09b7c384bd9 100644 --- a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi @@ -597,10 +597,6 @@ &usbphyc_port1 { phy-supply = <&vdd_usb>; }; -&v3v3_hdmi { - /delete-property/regulator-always-on; -}; - &vrefbuf { regulator-min-microvolt = <2500000>; regulator-max-microvolt = <2500000>; From patchwork Wed Aug 16 12:24:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355138 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 6A9A1C04A6A for ; Wed, 16 Aug 2023 12:25:57 +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=i/InxzlCZKifDLvLYXGaf0y5MchV2UL40pmNtkqJqr8=; b=G9S3nhuk/MDuMe 7tb5J8DhFjoAVmyCoICzIP49sQCqPNyv+qqQ+Ntp1Ln2ZA3nB/yr0p7F2RymYbyavHhQWzZFUIjr6 If4YMaP/mtXDle2RfcKQg+LrFNxelWuq7aZgU+VX+6nXEDlWOtP9h0RvxcXhAVu9dsWtWY77SSyQV npc26cA3G1pnoavC9xDd1+z8sAlj22eU1G/heDWq+CnKtC87fwuaZp6IioJEKTR/JC5Nsh8Xah29L 3mGiihrjgLBaNET2Nx488ARtnVYI8/5zyadpjmpBSeYd4RKALNPuGAYtR+0xJIGN97Tr56j4I4+t0 /VzyLhrtzAolfULn2aGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFac-0048Jp-2d; Wed, 16 Aug 2023 12:25:30 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaL-0048DP-2Y for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=5m/fvZz+JMQxGsGCGL8BSOhcb0aYS9xdwb43uJTU/c0=; b=Cbj/4xV64F1pKBdJpybpmQ3/0o bSgUt3eWYGxXNWd5oG6U97/7t81JCHitQvfQVn9NqX3Q5DW1i1HaGsp0yqGC4XyU7xtViugcPaXcK ZtoZN70gbOOg4Rfk0o6YzzFxxbAnXiAiC6e7pzYlbn9fUGW03K0LkRR68eAcZ0fsc1mixvffxXXdA 44jFEYr3hc/27dMu1sCKPLnTPznyAlNXiAmDRmg4RmaEDHQuolvRLKiW9JCD1vmJhhTFhMFph+Oi5 Y8auJ/ikrafJ9i+JnzE1dWEprphBZesAXLi3udp3vKgcWHRXjfuPoYD7VDrfuueUDvZueHOoy50ve sNdVMCzw==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaK-000NBv-Ei; Wed, 16 Aug 2023 14:25:12 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaJ-000HIl-Nr; Wed, 16 Aug 2023 14:25:11 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 7/9] ARM: dts: stm32: osd32: fix ldo6 not required to be always-on Date: Wed, 16 Aug 2023 14:24:27 +0200 Message-ID: <20230816122435.3153513-7-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052513_827306_380B0EED X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. 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 According to the OSD32MP1 Power System overview[1] there is no hard requirement for the ldo6 to be always-on. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer Acked-by: Leonard Göhrs --- arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi index 902ca6c23533..aeb71c41a734 100644 --- a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi @@ -152,9 +152,7 @@ v1v2_hdmi: ldo6 { regulator-name = "v1v2_hdmi"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; - regulator-always-on; interrupts = ; - }; vref_ddr: vref_ddr { From patchwork Wed Aug 16 12:24:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355142 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 2D576C001E0 for ; Wed, 16 Aug 2023 12:26:01 +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=QHDqFFbtbAT9NunuEMREuSDg5a6sRXMYMMS4dmwk+q8=; b=A0u5ublMmuQF1d WaPUSTHk20ObrK2/WlvEOa/OdaEKJ9tC8vG70TQH9tnyqxCwo6dGfyt04sqqzM1WdruqhMR2I4IzC 0lpcFTZ7DKnQmU85TMng8L79DoVKxig8+HKjzcIdRn7Q9LEUujAOU+GjKN/CG5MnplYfzvQE68008 dKl/lhWbIoXSAkqjdCJlcvfHg1YabTyTg+Pa7QG95HByKrXMUZMobPdefWMb62GHRg6qsMIT9Z3/K NfrXD96FT2KiPNdUkWqXLKw2lwvLKETmhA7yH9O33JJbEwne8VyVLLN9iH1VPGrRsTLap14+NZvp4 8cAezOQPx83IhZl3SP1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFac-0048JP-0L; Wed, 16 Aug 2023 12:25:30 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaM-0048Dn-2c for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=Jw6Xj4AHLs/mvoGawLbbzyE/G0/S+Blp97r2CL4A/Tw=; b=J3ZpgKKo5EYFekN3Q8SBhX9wzE x5mwYysVFHuoL40NqluYwKNiOu5s1Lj3sLQFZLqcHBVNr/oWaprMRVfF3ZvbXYS6vtiG6BYmPEfFq LOj13Dcaip2a6p5woJUsOh3QCOB5ymrkAZd2BwhqfFrTw2PO1M3ilDPXaJkwenFFpRzeCR5Joczjo apCpQ9MjbFsG6Nr832WxdxsV2jGOsxCKvqG+IGm/mlzsVxRfbldRTUWc4fkoTNu4sWF2zOtbkoEQS 1PkQPD8VshfP/vprmTuoWqJh5KEYR7duBBy8BhB6LfUTPyADGwvGrebdQ05yseP/1rk5LtylYY35R w+naZS/w==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaL-000NC2-D7; Wed, 16 Aug 2023 14:25:13 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaK-000HIl-Fd; Wed, 16 Aug 2023 14:25:12 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 8/9] dt-bindings: arm: stm32: add extra SiP compatible for oct,stm32mp157c-osd32-red Date: Wed, 16 Aug 2023 14:24:28 +0200 Message-ID: <20230816122435.3153513-8-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052514_872916_A05F266A X-CRM114-Status: UNSURE ( 7.96 ) X-CRM114-Notice: Please train this message. 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 Add binding support for the Octavo OSD32MP1-RED development board. General features: - STM32MP157C - 512MB DDR3 - CAN-FD - HDMI - USB-C OTG - UART Signed-off-by: Sean Nyekjaer Acked-by: Conor Dooley Acked-by: Krzysztof Kozlowski --- Changes since v4: - As per Krzysztof, removed indent of previous boards Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml index 4bf28e717a56..df087c81c69e 100644 --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml @@ -146,6 +146,7 @@ properties: - lxa,stm32mp157c-mc1 # Linux Automation MC-1 - lxa,stm32mp157c-tac-gen1 # Linux Automation TAC (Generation 1) - lxa,stm32mp157c-tac-gen2 # Linux Automation TAC (Generation 2) + - oct,stm32mp157c-osd32-red # Octavo OSD32MP1 RED board - const: oct,stm32mp15xx-osd32 - enum: - st,stm32mp157 From patchwork Wed Aug 16 12:24:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355141 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 4BAC7C04E69 for ; Wed, 16 Aug 2023 12:25:57 +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=931EQ1/6USL2cAFMxAdmAqWbOy9JK6B6yZdTqIulq7w=; b=YtKMLBIBX65wIb aX9/q66yxgs9sLSDdjRTbLbq0Cu9AA0crC66WuJ9kYc6I937jGtyWUrCDhcFBwPMdm14aSVPHSXAG 05jPfSGqNcRajoaiE57XzALZV4LPxUOHcQI4OaOT8tD3o9KPemUZwIbRZUhIZolqgy4NZUQEGzO3x 30fi7vggDBlskeEFDQvCq1hUXtOs7Dbx8hd7YKRS4BWR5SBsbTGIdHiGOginu0mdnFC5+veXHBaZx 4X9mAAqa4FLd+e1ZL82/LmXhFunQYaWjKcHXA2zloaBbGLyqwoa87hxsaD2BOfAqrNFlEx0dJ+16j oBYNfBJlo60IDMrntaXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFad-0048KJ-1U; Wed, 16 Aug 2023 12:25:31 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaN-0048EO-2O for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=Z6bfjfoJhk4P9zQ+Hri48B3wgfIIzvzxvfHi2AL4Fdw=; b=kdy+FVdHjrZUfsToIy5tMLlmZn GVPrdifM/ybSl6ztexnLDSBA/c4jLehbt7DOaGbvB+iKOkvNNSwYgOCFSt7dh+taFAjgeuV8yh+HB W/DVu+FCRdIFLQ6sbybN/mPm6uMjUqnj8zIIyWdr0HaGexE3Xr0rt78shGR81V+alzyryqnE7lwMa NA/AsQ8DRM6B9jZOvRjl2nvLX+8dzYTrIzoPW0ytFlR5YJWbCM4PbgskwQPHuRL9kkrlIZrjoloOK aIyZJuZP6g6wh3mWS+1tHAj+SoI46ajkqcuUl4Rh8GZ2njwOLlYBXfUmY8PRc3y41SFO67eoQ+LnL rqawRorQ==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaM-000NCJ-CJ; Wed, 16 Aug 2023 14:25:14 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaL-000HIl-Kh; Wed, 16 Aug 2023 14:25:13 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 9/9] ARM: dts: stm32: Add Octavo OSD32MP1-RED board Date: Wed, 16 Aug 2023 14:24:29 +0200 Message-ID: <20230816122435.3153513-9-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_052516_338804_8A83A5D5 X-CRM114-Status: GOOD ( 13.82 ) 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 Add support for the Octavo OSD32MP1-RED development board. General features: - STM32MP157C - 512MB DDR3 - CAN-FD - HDMI - USB-C OTG - UART Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- Changes since v4: - Fixed compile warnings arch/arm/boot/dts/st/Makefile | 3 +- .../boot/dts/st/stm32mp157c-osd32mp1-red.dts | 225 ++++++++++++++++++ 2 files changed, 227 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile index 44b264c399ec..94feb1f1d569 100644 --- a/arch/arm/boot/dts/st/Makefile +++ b/arch/arm/boot/dts/st/Makefile @@ -59,7 +59,8 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32mp157c-lxa-tac-gen1.dtb \ stm32mp157c-lxa-tac-gen2.dtb \ stm32mp157c-odyssey.dtb \ - stm32mp157c-phycore-stm32mp1-3.dtb + stm32mp157c-phycore-stm32mp1-3.dtb \ + stm32mp157c-osd32mp1-red.dtb dtb-$(CONFIG_ARCH_U8500) += \ ste-snowball.dtb \ ste-hrefprev60-stuib.dtb \ diff --git a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts new file mode 100644 index 000000000000..bd67a1db9122 --- /dev/null +++ b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts @@ -0,0 +1,225 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) Geanix ApS 2023 - All Rights Reserved + * Author: Sean Nyekjaer + */ + +/dts-v1/; + +#include "stm32mp157.dtsi" +#include "stm32mp15xc.dtsi" +#include "stm32mp15xx-osd32.dtsi" +#include "stm32mp15xxac-pinctrl.dtsi" + +#include +#include + +/ { + model = "Octavo OSD32MP1 RED board"; + compatible = "oct,stm32mp157c-osd32-red", "oct,stm32mp15xx-osd32", "st,stm32mp157"; + + aliases { + serial0 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + led-controller-0 { + compatible = "gpio-leds"; + + led-0 { + label = "heartbeat"; + gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; +}; + +&crc1 { + status = "okay"; +}; + +&dts { + status = "okay"; +}; + +ðernet0 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <ðernet0_rgmii_pins_a>; + pinctrl-1 = <ðernet0_rgmii_sleep_pins_a>; + phy-mode = "rgmii-id"; + max-speed = <1000>; + phy-handle = <&phy0>; + st,eth-clk-sel; + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@3 { + reg = <3>; + }; + }; +}; + +&iwdg2 { + timeout-sec = <32>; + status = "okay"; +}; + +&i2c1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c1_pins_a>; + pinctrl-1 = <&i2c1_sleep_pins_a>; + status = "okay"; + i2c-scl-rising-time-ns = <100>; + i2c-scl-falling-time-ns = <7>; + /* spare dmas for other usage */ + /delete-property/dmas; + /delete-property/dma-names; + + hdmi-transmitter@39 { + compatible = "sil,sii9022"; + reg = <0x39>; + reset-gpios = <&gpiog 0 GPIO_ACTIVE_LOW>; + interrupts = <1 IRQ_TYPE_EDGE_FALLING>; + interrupt-parent = <&gpiog>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <<dc_pins_e>; + pinctrl-1 = <<dc_sleep_pins_e>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + sii9022_in: endpoint { + remote-endpoint = <<dc_ep0_out>; + }; + }; + + port@3 { + reg = <3>; + sii9022_tx_endpoint: endpoint { + remote-endpoint = <&i2s2_endpoint>; + }; + }; + }; + }; +}; + +&i2s2 { + clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc CK_PER>, <&rcc PLL3_R>; + clock-names = "pclk", "i2sclk", "x8k", "x11k"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2s2_pins_b>; + pinctrl-1 = <&i2s2_sleep_pins_b>; + status = "okay"; + + i2s2_port: port { + i2s2_endpoint: endpoint { + remote-endpoint = <&sii9022_tx_endpoint>; + dai-format = "i2s"; + mclk-fs = <256>; + }; + }; +}; + +<dc { + status = "okay"; + + port { + ltdc_ep0_out: endpoint { + remote-endpoint = <&sii9022_in>; + }; + }; +}; + +&m_can1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can1_pins_d>; + pinctrl-1 = <&m_can1_sleep_pins_d>; + status = "okay"; +}; + +&pwr_regulators { + vdd-supply = <&vdd>; + vdd_3v3_usbfs-supply = <&vdd_usb>; +}; + +&rtc { + status = "okay"; +}; + +&sdmmc1 { + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc1_b4_pins_a>; + pinctrl-1 = <&sdmmc1_b4_od_pins_a>; + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; + cd-gpios = <&gpioe 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; + disable-wp; + st,neg-edge; + bus-width = <4>; + vmmc-supply = <&v3v3>; + status = "okay"; +}; + +&sdmmc2 { + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_d>; + pinctrl-1 = <&sdmmc2_b4_od_pins_a>; + pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_d>; + non-removable; + no-sd; + no-sdio; + st,neg-edge; + bus-width = <8>; + vmmc-supply = <&v3v3>; + vqmmc-supply = <&vdd>; + mmc-ddr-3_3v; + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default", "sleep", "idle"; + pinctrl-0 = <&uart4_pins_a>; + pinctrl-1 = <&uart4_sleep_pins_a>; + pinctrl-2 = <&uart4_idle_pins_a>; + /* spare dmas for other usage */ + /delete-property/dmas; + /delete-property/dma-names; + status = "okay"; +}; + +&usbh_ehci { + phys = <&usbphyc_port0>; + phy-names = "usb"; + status = "okay"; +}; + +&usbh_ohci { + phys = <&usbphyc_port0>; + phy-names = "usb"; + status = "okay"; +}; + +&usbotg_hs { + vbus-supply = <&vbus_otg>; +}; + +&usbphyc { + status = "okay"; +}; + +&usbphyc_port0 { + phy-supply = <&vdd_usb>; +}; + +&usbphyc_port1 { + phy-supply = <&vdd_usb>; +};