mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
The compatible string "i2c-eeprom" is U-Boot own compatible, which
has never been approved by the DT community. "u-boot,i2c-offset-len"
is also a U-Boot own hack.
Linux adds "atmel,*" as generic compatibles, and U-Boot also followed
it by commit d7e28918aa
("i2c_eeprom: Add reading support").
The U-Boot own hack is no longer needed. Just sync with Linux.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
15 lines
329 B
Plaintext
15 lines
329 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
//
|
|
// Device Tree Source for UniPhier Reference Daughter Board
|
|
//
|
|
// Copyright (C) 2015-2017 Socionext Inc.
|
|
// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
|
|
&i2c0 {
|
|
eeprom@50 {
|
|
compatible = "microchip,24lc128", "atmel,24c128";
|
|
reg = <0x50>;
|
|
pagesize = <64>;
|
|
};
|
|
};
|