Skip to content
Snippets Groups Projects
Commit aa1cd2cf authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: UniPhier: set I2C offset length of on-board EEPROM in DTS


The EEPROM chips on UniPhier reference daughter boards expect 2-byte
offset address.

Since 7132b9fd (dm: i2c: dts: Support an offset-len device tree
property), I2C sub-nodes can have "u-boot,i2c-offset-len" property.

It is convenient to set the default I2C offset address length in
Device Tree, so that we do not have to set it on the command line.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent a7f2ecf5
No related branches found
No related tags found
No related merge requests found
...@@ -11,5 +11,6 @@ ...@@ -11,5 +11,6 @@
eeprom { eeprom {
compatible = "i2c-eeprom"; compatible = "i2c-eeprom";
reg = <0x50>; reg = <0x50>;
u-boot,i2c-offset-len = <2>;
}; };
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment