arm: omap3: beagle: Ensure msecure is mux'd to be able to set the RTC
authorAlexander Holler <holler@ahsoftware.de>
Tue, 5 Apr 2011 13:40:08 +0000 (15:40 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 1 Jun 2011 09:25:05 +0000 (02:25 -0700)
Without msecure beeing high it isn't possible to set (or start)
the RTC.

Tested with a BeagleBoard C4.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3beagle.c

index be71426359f2ecda9644f41a7e6cd6e64ab6e58b..d64ed974286bc80ed2b7b51265be886e31f1df6e 100644 (file)
@@ -579,6 +579,9 @@ static void __init omap3_beagle_init(void)
        omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions,
                             ARRAY_SIZE(omap3beagle_nand_partitions));
 
+       /* Ensure msecure is mux'd to be able to set the RTC. */
+       omap_mux_init_signal("sys_drm_msecure", OMAP_PIN_OFF_OUTPUT_HIGH);
+
        /* Ensure SDRC pins are mux'd for self-refresh */
        omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);
        omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT);