]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
arm64: dts: h3ulcb: enable I2C2
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Wed, 31 Aug 2016 10:03:29 +0000 (13:03 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 6 Sep 2016 10:57:26 +0000 (12:57 +0200)
This supports I2C2 bus on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@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/r8a7795-h3ulcb.dts

index fb694b8c6f59cef698c9e18df22e69e2032ccc43..3ba1f72526ba31486e07a512204c9fe28b762d73 100644 (file)
                function = "scif_clk";
        };
 
+       i2c2_pins: i2c2 {
+               groups = "i2c2_a";
+               function = "i2c2";
+       };
+
        avb_pins: avb {
                groups = "avb_mdc";
                function = "avb";
        status = "okay";
 };
 
+&i2c2 {
+       pinctrl-0 = <&i2c2_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
 &avb {
        pinctrl-0 = <&avb_pins>;
        pinctrl-names = "default";