summaryrefslogtreecommitdiff
path: root/linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS5.dtsi
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
commita1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch)
treec34b2311e37ea31db153c90cb8f4570374d05e78 /linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS5.dtsi
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS5.dtsi')
-rw-r--r--linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS5.dtsi48
1 files changed, 48 insertions, 0 deletions
diff --git a/linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS5.dtsi b/linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS5.dtsi
new file mode 100644
index 00000000..01d0aec1
--- /dev/null
+++ b/linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS5.dtsi
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/* Testing */
+/* sudo /sbin/getty -L ttyS5 115200 vt102 */
+
+#include <dt-bindings/board/am335x-bbw-bbb-base.h>
+#include "am335x-peripheral-ttyS5.dtsi"
+
+/* cape universal */
+
+/*
+ *&ocp {
+ * P8_37_pinmux {
+ * mode = "uart";
+ * };
+ * P8_38_pinmux {
+ * mode = "uart";
+ * };
+ *};
+ *
+ *&uart5 {
+ * pinctrl-0 = <>;
+ *};
+ *
+ */
+
+/* standard */
+
+&am33xx_pinmux {
+ uart5_pins: pinmux_uart5_pins {
+ pinctrl-single,pins = <
+ /* P8_38: lcd_data9.uart5_rxd */
+ BONE_P8_38 (PIN_INPUT_PULLUP | MUX_MODE4)
+ /* P8_37: lcd_data8.uart5_txd */
+ BONE_P8_37 (PIN_OUTPUT_PULLDOWN | MUX_MODE4)
+ >;
+ };
+};
+
+&uart5 {
+ pinctrl-0 = <&uart5_pins>;
+};