arm64: dts: m3ulcb: enable I2C
authorVladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Thu, 26 Jan 2017 14:54:09 +0000 (17:54 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 22 May 2017 12:32:05 +0000 (14:32 +0200)
This supports I2C2 bus on M3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts

index 372b2a9..5554b55 100644 (file)
                function = "scif_clk";
        };
 
+       i2c2_pins: i2c2 {
+               groups = "i2c2_a";
+               function = "i2c2";
+       };
+
        sdhi0_pins: sd0 {
                groups = "sdhi0_data4", "sdhi0_ctrl";
                function = "sdhi0";
        clock-frequency = <14745600>;
 };
 
+&i2c2 {
+       pinctrl-0 = <&i2c2_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
 &wdt0 {
        timeout-sec = <60>;
        status = "okay";