diff mbox

[2/3] arm: shmobile: genmai: adapt dts to use native i2c driver

Message ID 1392671959-22834-3-git-send-email-wsa@the-dreams.de (mailing list archive)
State Accepted
Commit 367aaaea1d6c6496695ffd06b49590b8cfcb8aa5
Headers show

Commit Message

Wolfram Sang Feb. 17, 2014, 9:19 p.m. UTC
From: Wolfram Sang <wsa@sang-engineering.com>

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>
---
 arch/arm/boot/dts/r7s72100-genmai-reference.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r7s72100-genmai-reference.dts b/arch/arm/boot/dts/r7s72100-genmai-reference.dts
index 0849017..e664611 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>;
+	};
+};