1# Copyright (c) 2019 Vestas Wind Systems A/S 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 SPI EEPROMs compatible with Atmel's AT25 family 6 7 There are multiple vendors manufacturing SPI EEPROMs compatible with the programming model of the 8 Atmel AT25. 9 10 Examples of compatible EEPROM families: 11 - Microchip AT25xxx 12 - ST M95xxx 13 14 Each of these can be represented by a set of common parameters (EEPROM size, page size, address 15 width, and timeout) available from the datasheet of the specific EEPROM. The compatible string for 16 these can list the specific EEPROM vendor and model along with the vendor EEPROM family as long as 17 the least-specific compatible entry is "atmel,at25". 18 19 Example devicetree node describing a ST M95256 EEPROM on the spi0 bus: 20 21 &spi0 { 22 status = "okay"; 23 24 eeprom@1 { 25 compatible = "st,m95256", "st,m95xxx", "atmel,at25"; 26 reg = <0x1>; 27 size = <DT_SIZE_K(32)>; 28 pagesize = <64>; 29 address-width = <16>; 30 spi-max-frequency = <DT_FREQ_M(20)>; 31 timeout = <5>; 32 }; 33 }; 34 35compatible: "atmel,at25" 36 37include: ["atmel,at2x-base.yaml", spi-device.yaml] 38