summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/board-omap3h1.c
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-07-06 14:15:55 -0700
committermattis fjallstrom <mattis@acm.org>2015-07-06 14:15:55 -0700
commite93fc20a5d45e7a0aed4cd81de52bb8258746ab7 (patch)
treebd08ad8e18c41ceab611b42864ff14f3193ee330 /arch/arm/mach-omap2/board-omap3h1.c
parentd8dc784e0c10a3246d21ff4d17114f88342e09ce (diff)
downloadolio-linux-3.10-e93fc20a5d45e7a0aed4cd81de52bb8258746ab7.tar.xz
olio-linux-3.10-e93fc20a5d45e7a0aed4cd81de52bb8258746ab7.zip
Fixing clkreq polarity, adding more PV specific pins to device tree file, leaving bluetooth regulator always on.
Change-Id: I343b8e89601d25f7593313b6d9c6adb47180c14a
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3h1.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3h1.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3h1.c b/arch/arm/mach-omap2/board-omap3h1.c
index 7a59a3b4d18..0d16b8967f9 100644
--- a/arch/arm/mach-omap2/board-omap3h1.c
+++ b/arch/arm/mach-omap2/board-omap3h1.c
@@ -67,6 +67,8 @@
#include "board-flash.h"
#include "common-board-devices.h"
#include "board-omap3h1.h"
+#include "prm2xxx_3xxx.h"
+#include "prm-regbits-34xx.h"
#include "sdram-micron-mt29c8g96m-48.h"
@@ -424,6 +426,14 @@ static void __init omap3_h1_init(void)
of_platform_populate(NULL, omap_dt_match_table, NULL, NULL);
+#ifdef CONFIG_MACH_OMAP3_H1_PV
+ /* The PV units need reversed polarity for the sysclkreq pin. */
+
+ omap2_prm_rmw_mod_reg_bits(OMAP3430_CLKREQ_POL_MASK,
+ 0, OMAP3430_GR_MOD,
+ OMAP3_PRM_POLCTRL_OFFSET);
+#endif
+
board_nand_init(omap3h1_nand_partitions,
ARRAY_SIZE(omap3h1_nand_partitions), NAND_CS,
NAND_BUSWIDTH_16, NULL);