Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2a346a2 authored by Alexander Holler's avatar Alexander Holler Committed by Tony Lindgren
Browse files

arm: omap3: beagle: Ensure msecure is mux'd to be able to set the RTC



Without msecure beeing high it isn't possible to set (or start)
the RTC.

Tested with a BeagleBoard C4.

Signed-off-by: default avatarAlexander Holler <holler@ahsoftware.de>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c0ad4fac
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -579,6 +579,9 @@ static void __init omap3_beagle_init(void)
	omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions,
	omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions,
			     ARRAY_SIZE(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 */
	/* Ensure SDRC pins are mux'd for self-refresh */
	omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);
	omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);
	omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT);
	omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT);