arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts | 4 ++++ 1 file changed, 4 insertions(+)
The RZ/N1D-DB board does have a battery to power the RTC. Enable the
RTC device on this board.
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---
arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts b/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
index 3f8f3ce87e12..c736d398325a 100644
--- a/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
+++ b/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
@@ -31,3 +31,7 @@ &wdt0 {
timeout-sec = <60>;
status = "okay";
};
+
+&rtc0 {
+ status = "okay";
+};
--
2.36.1
Hi Clément,
On Wed, Jun 8, 2022 at 11:10 AM Clément Léger <clement.leger@bootlin.com> wrote:
> The RZ/N1D-DB board does have a battery to power the RTC. Enable the
> RTC device on this board.
>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Thanks for your patch!
> --- a/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
> +++ b/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
> @@ -31,3 +31,7 @@ &wdt0 {
> timeout-sec = <60>;
> status = "okay";
> };
> +
> +&rtc0 {
> + status = "okay";
> +};
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.20, with rtc0 moved up to
preserve sort order (no need to resend).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Le Thu, 9 Jun 2022 11:36:13 +0200,
Geert Uytterhoeven <geert@linux-m68k.org> a écrit :
> Hi Clément,
>
> On Wed, Jun 8, 2022 at 11:10 AM Clément Léger <clement.leger@bootlin.com> wrote:
> > The RZ/N1D-DB board does have a battery to power the RTC. Enable the
> > RTC device on this board.
> >
> > Signed-off-by: Clément Léger <clement.leger@bootlin.com>
>
> Thanks for your patch!
>
> > --- a/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
> > +++ b/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
> > @@ -31,3 +31,7 @@ &wdt0 {
> > timeout-sec = <60>;
> > status = "okay";
> > };
> > +
> > +&rtc0 {
> > + status = "okay";
> > +};
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> i.e. will queue in renesas-devel for v5.20, with rtc0 moved up to
> preserve sort order (no need to resend).
Acked, I checked the order but the wdt0 has already been inserted after
the uart0 node so I assumed it was unsorted.
Thanks !
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
--
Clément Léger,
Embedded Linux and Kernel engineer at Bootlin
https://bootlin.com
© 2016 - 2026 Red Hat, Inc.