ARM: shmobile: r8a7791: add i2c2 bus to koelsch dt
authorWolfram Sang <wsa@sang-engineering.com>
Mon, 17 Feb 2014 10:44:42 +0000 (11:44 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 18 Feb 2014 00:32:53 +0000 (09:32 +0900)
Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Acked-by: Magnus Damm <damm@opensource.se>
[horms+renesas@verge.net.au: resolved conflict]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-koelsch.dts

index f67d2d0..bf6ba0c 100644 (file)
        clock-frequency = <20000000>;
 };
 
+&i2c2 {
+       pinctrl-0 = <&i2c2_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+
+       eeprom@50 {
+               compatible = "renesas,24c02";
+               reg = <0x50>;
+               pagesize = <16>;
+       };
+};
+
 &pfc {
        pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>;
        pinctrl-names = "default";
 
+       i2c2_pins: i2c {
+               renesas,groups = "i2c2";
+               renesas,function = "i2c2";
+       };
+
        du_pins: du {
                renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0";
                renesas,function = "du";