arm64: renesas: salvator-x: enable I2C
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 27 Oct 2015 23:05:28 +0000 (08:05 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 20 Nov 2015 17:57:02 +0000 (09:57 -0800)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

index 35ebb063bff69336aaabd3b5db178ea9b48f0655..d829fdae3c56953b86f7c939633d58aa3929d5ff 100644 (file)
                renesas,function = "scif2";
        };
 
+       i2c2_pins: i2c2 {
+               renesas,groups = "i2c2_a";
+               renesas,function = "i2c2";
+       };
+
        avb_pins: avb {
                renesas,groups = "avb_mdc";
                renesas,function = "avb";
        status = "okay";
 };
 
+&i2c2 {
+       pinctrl-0 = <&i2c2_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
 &avb {
        pinctrl-0 = <&avb_pins>;
        pinctrl-names = "default";