ARM: dts: iwg22m: Add RTC support
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Tue, 22 Aug 2017 18:22:46 +0000 (19:22 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 19 Sep 2017 09:19:41 +0000 (11:19 +0200)
Add support for the bq32000 RTC to the iwg22m device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7745-iwg22m.dtsi

index afb1148..e306e7c 100644 (file)
                groups = "mmc_data8", "mmc_ctrl";
                function = "mmc";
        };
+
+       i2c3_pins: i2c3 {
+               groups = "i2c3_b";
+               function = "i2c3";
+       };
 };
 
 &mmcif0 {
        non-removable;
        status = "okay";
 };
+
+&i2c3 {
+       pinctrl-0 = <&i2c3_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+
+       rtc@68 {
+               compatible = "ti,bq32000";
+               reg = <0x68>;
+       };
+};