arm64: dts: r8a7796: salvator-x: enable I2C
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Wed, 26 Oct 2016 14:14:09 +0000 (16:14 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 21 Nov 2016 09:18:44 +0000 (10:18 +0100)
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts

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