From patchwork Thu Oct 17 19:03:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13840777 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 B97A3D3C52C for ; Thu, 17 Oct 2024 20:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From: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:List-Owner; bh=6UikRC4Qz0XD9894yyOJb/s9qvMMpRVTK+9kz5b8GeE=; b=e0m5azu/idAJ5FFKWDxYXVAAce XykpIFGjGHQPFBYJkzW2f/q1M8QbNul5L8uCQX8ym0SKESBn4caq5kDAQj5sy+x2xILoUudLa/+b7 4f+gn1ercy3THxAQiNRc9cdWVTiEa2Zjracpg4onoslxdbeIIXPzzOE5XpIHJFOoRBnFjCvYrFpQr P8AFusoktHY4/Tvo/m1syUxTZwI4EEfPfQ6xfW+60TsU9RlHhYF4dE2Arb/cIuv13I78WBph4MrYJ giHeUB74ltiXHheBTxC7c7JJpmpYptM8p4ruksm3DvV/8fJVxOqMARuv4QF+/tvZwgbk04xIecjeY 5dgLrdLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1Wul-0000000G6Fq-2cIr; Thu, 17 Oct 2024 20:16:07 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1VnO-0000000Fz0N-21pr for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 19:04:30 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 624FC89078; Thu, 17 Oct 2024 21:04:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1729191863; bh=6UikRC4Qz0XD9894yyOJb/s9qvMMpRVTK+9kz5b8GeE=; h=From:To:Cc:Subject:Date:From; b=c6hsltkT6GvHS0agC507lATrV89WJgcfxDIwiB+u+AZvVcHDlJV0dPs0Jn68Y8r74 Rs9A9ldTzBFM4R4aufRo7rJFRoxvt6uRD1MOrjvuChuYlGQjoapXosTHqhAdqA9SeO cBdju0uGpfKc3Ugs0H7/hNsaCxEtlpJsR8AibfmhCNxiKELJPklhAX9O5UjkuXNDeF DNGYhOgx4t/0O+iK+5JDMGpj4XZNeA4EHt9x9s+lbGepV9hhV7ERgnbqs3MeNAf9sU ZDeHmeL/S6GHAdkq7Zb933Alc1w+1fU7JgEH3qX/jiWFPRhJ8MeFKYBFyVXU+7ejMt wtZ/2Pvsdgpfw== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Alexandre Torgue , Christoph Niedermaier , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, kernel@dh-electronics.com, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH] ARM: dts: stm32: Describe M24C32-D write-lockable page in DH STM32MP13xx DHCOR SoM DT Date: Thu, 17 Oct 2024 21:03:57 +0200 Message-ID: <20241017190404.130838-1-marex@denx.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_120426_690900_57E01AD1 X-CRM114-Status: GOOD ( 10.47 ) 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 The STM32MP13xx DHCOR SoM is populated with M24256E EEPROM which has Additional Write lockable page at separate I2C address. Describe the page in DT to make it available. Note that the WLP page on this device is hardware write-protected by R37 which pulls the nWC signal high to VDD_3V3_1V8 power rail. Signed-off-by: Marek Vasut --- Cc: Alexandre Torgue Cc: Christoph Niedermaier Cc: Conor Dooley Cc: Krzysztof Kozlowski Cc: Maxime Coquelin Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: kernel@dh-electronics.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com --- DEPENDS: - https://lore.kernel.org/linux-i2c/20241017184152.128395-1-marex@denx.de/ - https://lore.kernel.org/linux-i2c/20241017184152.128395-2-marex@denx.de/ --- arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi b/arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi index 5c633ed548f37..07133bd82efa6 100644 --- a/arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi +++ b/arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi @@ -202,6 +202,12 @@ eeprom0: eeprom@50 { pagesize = <64>; }; + eeprom0wl: eeprom@58 { + compatible = "st,24256e-wl"; /* ST M24256E WL page of 0x50 */ + pagesize = <64>; + reg = <0x58>; + }; + rv3032: rtc@51 { compatible = "microcrystal,rv3032"; reg = <0x51>;