diff options
author | Wolfram Sang <wsa@sang-engineering.com> | 2014-02-17 22:19:18 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-02-18 11:35:30 +0900 |
commit | 367aaaea1d6c6496695ffd06b49590b8cfcb8aa5 (patch) | |
tree | 462613a95b4f67a84577be941979239f811adabe /arch/arm/boot/dts/r7s72100-genmai-reference.dts | |
parent | c81a4d3dfd33e097d3eef89e4eb830effb8b8d31 (diff) | |
download | blackbird-op-linux-367aaaea1d6c6496695ffd06b49590b8cfcb8aa5.tar.gz blackbird-op-linux-367aaaea1d6c6496695ffd06b49590b8cfcb8aa5.zip |
ARM: shmobile: genmai: adapt dts to use native i2c driver
Activate the shiny new riic driver for i2c2. Tested by accessing the
eeprom on the genmai board.
Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r7s72100-genmai-reference.dts')
-rw-r--r-- | arch/arm/boot/dts/r7s72100-genmai-reference.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s72100-genmai-reference.dts b/arch/arm/boot/dts/r7s72100-genmai-reference.dts index 0849017e9d2f..e664611a47c8 100644 --- a/arch/arm/boot/dts/r7s72100-genmai-reference.dts +++ b/arch/arm/boot/dts/r7s72100-genmai-reference.dts @@ -29,3 +29,14 @@ #size-cells = <1>; }; }; + +&i2c2 { + status = "okay"; + clock-frequency = <400000>; + + eeprom@50 { + compatible = "renesas,24c128"; + reg = <0x50>; + pagesize = <64>; + }; +}; |