summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorMattis Fjallstrom <mattis@oliodevices.com>2016-11-04 11:41:14 -0700
committerMattis Fjallstrom <mattis@oliodevices.com>2016-11-04 11:41:14 -0700
commit418348f95c7d0c4c77a6e392e2044541e3f8851c (patch)
treeca161d64247a857d74991e7322a402546e3d55fb /arch/arm/boot/dts
parentb508eb5014ec933bbcdc1ad555091ee73848e526 (diff)
downloadolio-linux-3.10-418348f95c7d0c4c77a6e392e2044541e3f8851c.tar.xz
olio-linux-3.10-418348f95c7d0c4c77a6e392e2044541e3f8851c.zip
Mods for turning off UART3 pins, setting them in safe mode.
Change-Id: I30b35780710afd2d1579cc6b4b91d4d1b735a149
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/omap3_h1.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3_h1.dts b/arch/arm/boot/dts/omap3_h1.dts
index 8a909944034..f6959ab91f3 100644
--- a/arch/arm/boot/dts/omap3_h1.dts
+++ b/arch/arm/boot/dts/omap3_h1.dts
@@ -205,8 +205,16 @@
0x1aa 0x004 /* CONTROL_PADCONF_MCSPI2_SOMI, (IDIS | PI | M4 ) */
/* UART3 pins */
+#ifdef CONFIG_OLIO_H1_PRODUCTION
+ /* Production build, no console, safe mode */
+ 0x16a 0x007
+ 0x16c 0x007
+ 0x16e 0x007 /* RX */
+ 0x170 0x007 /* TX */
+#else /* regular build, working UART console */
0x16e 0x100 /* RX, input, off wake up */
0x170 0x000 /* TX, output */
+#endif
/* GPIO146, aka UART2TX, aka Microphone enable */
0x148 0x161C /* (204) OUTPUT | GPIO | OFF_ENABLE | OFF_PULL_LOW */