ARM: shmobile: genmai: adapt dts to use native i2c driver
authorWolfram Sang <wsa@sang-engineering.com>
Mon, 17 Feb 2014 21:19:18 +0000 (22:19 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 18 Feb 2014 02:35:30 +0000 (11:35 +0900)
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>
arch/arm/boot/dts/r7s72100-genmai-reference.dts

index 0849017e9d2fbd81cc4827db4c3004fe5d581601..e664611a47c8710f479644dff5a275f624a08499 100644 (file)
                #size-cells = <1>;
        };
 };
+
+&i2c2 {
+       status = "okay";
+       clock-frequency = <400000>;
+
+       eeprom@50 {
+               compatible = "renesas,24c128";
+               reg = <0x50>;
+               pagesize = <64>;
+       };
+};