]> www.infradead.org Git - nvme.git/commitdiff
ARM: dts: sun8i: a23/a33: Fix up RTC device node
authorChen-Yu Tsai <wens@csie.org>
Mon, 3 Dec 2018 14:58:20 +0000 (22:58 +0800)
committerChen-Yu Tsai <wens@csie.org>
Fri, 7 Dec 2018 02:22:39 +0000 (10:22 +0800)
The RTC module on the A23 was claimed to be the same as on the A31, when
in fact it is not. The A31 does not have an RTC external clock output,
and its internal RC oscillator's average clock rate is not in the same
range. The A33's RTC is the same as the A23.

This patch fixes the compatible string and clock properties to conform
to the updated bindings. The register range is also fixed.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun8i-a23-a33.dtsi

index c2ff8975ac60b823d349b726c2a19d66a1ec49b4..a9c123de5d2ca74fb596e3d722a661eaec6d4c46 100644 (file)
                };
 
                rtc: rtc@1f00000 {
-                       compatible = "allwinner,sun6i-a31-rtc";
-                       reg = <0x01f00000 0x54>;
+                       compatible = "allwinner,sun8i-a23-rtc";
+                       reg = <0x01f00000 0x400>;
                        interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
-                       clock-output-names = "osc32k";
+                       clock-output-names = "osc32k", "osc32k-out";
                        clocks = <&ext_osc32k>;
                        #clock-cells = <1>;
                };