Skip to content

Enable CONFIG_BCM2712_WDT in 32-bit (armhf) kernel configs for Raspberry Pi 5 watchdog support #6921

Closed
@KLIM-T

Description

@KLIM-T

Summary

The bcm2712_wdt driver provides hardware watchdog support for Raspberry Pi 5 via the RP1 chip. It is currently enabled (CONFIG_BCM2712_WDT=m) in the 64-bit (ARM64) kernel config, but not included in the 32-bit (ARMHF) kernel (CONFIG_BCM2712_WDT is not set).

This means that hardware watchdog functionality is unavailable out of the box for users running Raspberry Pi OS Lite (armhf) on a Raspberry Pi 5, despite enabling dtoverlay=rp1-watchdog.

Requested Change

Please enable the following in all appropriate 32-bit kernel configs (e.g., bcm2712_defconfig, bcmrpi_defconfig, etc.):

CONFIG_BCM2712_WDT=m

This ensures that /dev/watchdog0 uses the correct bcm2712_wdt driver on 32-bit images when the rp1-watchdog overlay is active.

Justification

  • Raspberry Pi OS Lite (armhf) is still commonly used in many automation and embedded contexts.
  • Raspberry Pi 5 users on armhf currently fall back to the legacy bcm2835-wdt driver, which is incorrect.
  • Enabling this driver would align functionality between 32-bit and 64-bit Pi 5 setups and improve system reliability where hardware watchdogs are required (e.g., in unattended or critical environments).

Thanks for considering this!

Steps to reproduce the behaviour

Reproduction

  1. Use the latest Raspberry Pi OS Lite (32-bit armhf)
  2. Enable dtoverlay=rp1-watchdog in /boot/firmware/config.txt
  3. Reboot and check dmesg → Only bcm2835-wdt is loaded
  4. /sys/class/watchdog/watchdog0/name missing or legacy
  5. Build the module manually to confirm it works if added

Device (s)

Raspberry Pi 5

System

Which OS and version (cat /etc/rpi-issue)?

Raspberry Pi reference 2025-05-13
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, f548f25325e28bea61904f5038a9b9fd0c92b07b, stage2

Which firmware version (vcgencmd version)?

2025/05/08 15:13:17
Copyright (c) 2012 Broadcom
version 69471177 (release) (embedded)

Which kernel version (uname -a)?

Linux cyos 6.12.25+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions