From nobody Tue Nov 26 13:28:36 2024 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB3BA21B42B; Thu, 17 Oct 2024 19:04:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729191873; cv=none; b=hCNwiVo366mEs96Zw39Hr+iuPlnNu5rkQfk3oOeYbsiBu53pnY1aZ+5XxaNrh1rHe3H714M1M9Mnd7HYtgdoNBdvtqi738DvJFtr2tgRFlAkuqn3Bruj6/+8XG0mfzv5m6l+dSTlLc8odBdjYplTgszPI3cj2KN9K+lzV0Iai2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729191873; c=relaxed/simple; bh=Ouj9NgKhUKAV11GbKqsH79RXd53P1O0+P9Bdv9yanOU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VER6AMLv982aP4YqrvDt5fLQeijol1nFFq9i4PIIPEeSfkbhp8XWNGb7R11MYOdY7gLGBYbk2tEWE6SZDCZ8JM1rWro+/2ajYa7SYhE/iixGRc6wvPT6WqMJzFFw6aiAy73n1i3pa1wTjHLDEzfc2DqMIdBJVLBdniLlpBcFKmc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=c6hsltkT; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="c6hsltkT" 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Content-Type: text/plain; charset="utf-8" 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/boo= t/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 =3D <64>; }; =20 + eeprom0wl: eeprom@58 { + compatible =3D "st,24256e-wl"; /* ST M24256E WL page of 0x50 */ + pagesize =3D <64>; + reg =3D <0x58>; + }; + rv3032: rtc@51 { compatible =3D "microcrystal,rv3032"; reg =3D <0x51>; --=20 2.45.2