summaryrefslogtreecommitdiff
path: root/linux/arch/arm/boot/dts/am335x-bone-pinmux-ttyS1.dtsi
blob: ae5b813f007ab989858c4e68aa60a20eb264590d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 ttyS1 115200 vt102 */

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include "am335x-peripheral-ttyS1.dtsi"

/* cape universal */

/*
 *&ocp {
 *	P9_24_pinmux {
 *		mode = "uart";
 *	};
 *	P9_26_pinmux {
 *		mode = "uart";
 *	};
 *};
 *
 *&uart1 {
 *	pinctrl-0 = <>;
 *};
 *
 */

/* standard */

&am33xx_pinmux {
	uart1_pins: pinmux_uart1_pins {
		pinctrl-single,pins = <
			/* P9_24: uart1_txd.uart1_txd */
			BONE_P9_24 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
			/* P9_26: uart1_rxd.uart1_rxd */
			BONE_P9_26 (PIN_INPUT_PULLUP | MUX_MODE0)
		>;
	};
};

&uart1 {
	pinctrl-0 = <&uart1_pins>;
};