Linux preempt-rt

Check our new training course

Real-Time Linux with PREEMPT_RT

Check our new training course
with Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer


Required properties:

  - compatible: Must be a "<manufacturer>,<model>" pair. The following <model>
                values are supported (assuming "atmel" as manufacturer):


                If <manufacturer> is not "atmel", then a fallback must be used
                with the same <model> and "atmel" as manufacturer.

                        compatible = "microchip,24c128", "atmel,24c128";

                Supported manufacturers are:


                Some vendors use different model names for chips which are just
                variants of the above. Known such exceptions are listed below:

                "nxp,se97b" - the fallback is "atmel,24c02",
                "renesas,r1ex24002" - the fallback is "atmel,24c02"
                "renesas,r1ex24128" - the fallback is "atmel,24c128"
                "rohm,br24t01" - the fallback is "atmel,24c01"

  - reg: The I2C address of the EEPROM.

Optional properties:

  - pagesize: The length of the pagesize for writing. Please consult the
              manual of your device, that value varies a lot. A wrong value
              may result in data loss! If not specified, a safety value of
              '1' is used which will be very slow.

  - read-only: This parameterless property disables writes to the eeprom.

  - size: Total eeprom size in bytes.

  - no-read-rollover: This parameterless property indicates that the
                      multi-address eeprom does not automatically roll over
                      reads to the next slave address. Please consult the
                      manual of your device.

  - wp-gpios: GPIO to which the write-protect pin of the chip is connected.

  - address-width: number of address bits (one of 8, 16).


eeprom@52 {
	compatible = "atmel,24c32";
	reg = <0x52>;
	pagesize = <32>;
	wp-gpios = <&gpio1 3 0>;