Author: loos
Date: Thu Apr 23 14:58:39 2015
New Revision: 281890
URL: https://svnweb.freebsd.org/changeset/base/281890

Log:
  Enable the watchdog on RPI2.
  
  The watchdog is used to reset the SoC on cpu_reset().
  
  Without this, RPI2 will not reboot when asked to.

Modified:
  head/sys/boot/fdt/dts/arm/bcm2836.dtsi

Modified: head/sys/boot/fdt/dts/arm/bcm2836.dtsi
==============================================================================
--- head/sys/boot/fdt/dts/arm/bcm2836.dtsi      Thu Apr 23 14:53:45 2015        
(r281889)
+++ head/sys/boot/fdt/dts/arm/bcm2836.dtsi      Thu Apr 23 14:58:39 2015        
(r281890)
@@ -101,6 +101,12 @@
                         */
                };
 
+               watchdog0 {
+                       compatible = "broadcom,bcm2835-wdt",
+                                    "broadcom,bcm2708-wdt";
+                       reg = <0x10001c 0x0c>; /* 0x1c, 0x20, 0x24 */
+               };
+
                gpio: gpio {
                        compatible = "broadcom,bcm2835-gpio",
                                     "broadcom,bcm2708-gpio";
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to