summaryrefslogtreecommitdiff
path: root/linux/arch/arm/boot/dts/am335x-avtech.dtsi
blob: 82f15332e1fb84da11663d1802480a90aae46b53 (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
49
50
51
52
53
54
55
56
&am33xx_pinmux {
	avtech_pins: pinmux_avtech_pins {
		pinctrl-single,pins = <
			0x7c (PIN_OUTPUT_PULLUP | MUX_MODE0)					/* csn */
			0x94 (PIN_OUTPUT_PULLUP | MUX_MODE0)					/* oen */
			0x98 (PIN_OUTPUT_PULLUP | MUX_MODE0)					/* wen */
		
			0x00 (INPUT_EN | MUX_MODE0)							/* d0 */
			0x04 (INPUT_EN | MUX_MODE0) 						/* d1 */
			0x08 (INPUT_EN | MUX_MODE0) 						/* d2 */
			0x0c (INPUT_EN | MUX_MODE0) 						/* d3 */
			0x10 (INPUT_EN | MUX_MODE0) 						/* d4 */
			0x14 (INPUT_EN | MUX_MODE0) 						/* d5 */
			0x18 (INPUT_EN | MUX_MODE0) 						/* d6 */
			0x1c (INPUT_EN | MUX_MODE0) 						/* d7 */
			0xa0 (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a0 */
			0xa4 (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a1 */
			0xa8 (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a2 */
			0xac (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a3 */
			0xb0 (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a4 */
			0xb4 (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a5 */
			0xb8 (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a6 */
			0xbc (PIN_OUTPUT_PULLUP | MUX_MODE1) 				/* a7 */
			
			0x38 (PIN_OUTPUT | MUX_MODE7)						/* OUT_RELAY */
			0x28 (PIN_OUTPUT | MUX_MODE7)						/* Load_Clock */
			0x20 (PIN_OUTPUT | MUX_MODE7)						/* Chain_Input */
			0x3c (PIN_OUTPUT | MUX_MODE7)						/* O.GATE */
			0x24 (PIN_OUTPUT | MUX_MODE7)						/* Shift_Clock */		
		>;
	};
	
	uart5full_pins: pinmux_uart5full_pins {
		pinctrl-single,pins = <
			0xc0 (PIN_OUTPUT | MUX_MODE4)		/* txd */
			0xc4 (PIN_INPUT_PULLUP | MUX_MODE4)		/* rxd */
			0xd8 (PIN_INPUT_PULLUP	| MUX_MODE6)		/* ctsn */
			0xdc (PIN_OUTPUT | MUX_MODE6)		/* rtsn */
		>;
	};
};

/ {
	avtech {
		compatible = "bone-pinmux-helper";
		pinctrl-names = "default";
		pinctrl-0 = <&avtech_pins>;
		status = "okay";
	};
};

&uart5 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart5full_pins>;
	status = "okay";
};