Skip to content

Commit

Permalink
ARM: shmobile: genmai: adapt dts to use native i2c driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang authored and Simon Horman committed Feb 18, 2014
1 parent c81a4d3 commit 367aaae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm/boot/dts/r7s72100-genmai-reference.dts
Original file line number Diff line number Diff line change
@@ -29,3 +29,14 @@
#size-cells = <1>;
};
};

&i2c2 {
status = "okay";
clock-frequency = <400000>;

eeprom@50 {
compatible = "renesas,24c128";
reg = <0x50>;
pagesize = <64>;
};
};

0 comments on commit 367aaae

Please sign in to comment.