summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-05 14:30:26 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-07 00:15:02 +0900
commitaa1cd2cf0914cde392e514e062e03ab617c95a62 (patch)
treee4292088d50233f3b39da6e52bf669b943758f4b /arch/arm/dts
parenta7f2ecf5dcf81c314a00b69527587d4db72c00ce (diff)
downloadu-boot-imx-aa1cd2cf0914cde392e514e062e03ab617c95a62.zip
u-boot-imx-aa1cd2cf0914cde392e514e062e03ab617c95a62.tar.gz
u-boot-imx-aa1cd2cf0914cde392e514e062e03ab617c95a62.tar.bz2
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 7132b9fd68a1 (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: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/uniphier-ref-daughter.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/dts/uniphier-ref-daughter.dtsi b/arch/arm/dts/uniphier-ref-daughter.dtsi
index 33dc205..0145b51 100644
--- a/arch/arm/dts/uniphier-ref-daughter.dtsi
+++ b/arch/arm/dts/uniphier-ref-daughter.dtsi
@@ -11,5 +11,6 @@
eeprom {
compatible = "i2c-eeprom";
reg = <0x50>;
+ u-boot,i2c-offset-len = <2>;
};
};