OSDN Git Service

arm64: dts: renesas: r8a774c0-cat874: add RTC support
authorBiju Das <biju.das@bp.renesas.com>
Thu, 21 Feb 2019 09:40:48 +0000 (09:40 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Mar 2019 09:33:20 +0000 (10:33 +0100)
This patch adds Epson RX-8571 real time clock support.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts

index 96ee0d2..18ff79c 100644 (file)
        clock-frequency = <48000000>;
 };
 
+&i2c1 {
+       pinctrl-0 = <&i2c1_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+
+       rtc@32 {
+               compatible = "epson,rx8571";
+               reg = <0x32>;
+       };
+};
+
 &pcie_bus_clk {
        clock-frequency = <100000000>;
 };
 };
 
 &pfc {
+       i2c1_pins: i2c1 {
+               groups = "i2c1_b";
+               function = "i2c1";
+       };
+
        scif2_pins: scif2 {
                groups = "scif2_data_a";
                function = "scif2";