]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: stm32: Describe M24256E write-lockable page in DH STM32MP13xx DHCOR SoM DT
authorMarek Vasut <marex@denx.de>
Thu, 17 Oct 2024 19:09:18 +0000 (21:09 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 29 Oct 2024 15:20:39 +0000 (16:20 +0100)
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 <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi

index ddad6497775b8e8ebb1b5a641148632ed6d28dcf..5edbc790d1d2739557fd198eb764c1129b4a6fe1 100644 (file)
                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>;