Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 6206a07f authored by Robert Nelson's avatar Robert Nelson
Browse files

am335x-bone-common: pinmux uart


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 7d31a82f
No related merge requests found
......@@ -46,6 +46,34 @@ uart0_pins: pinmux_uart0_pins {
>;
};
uart1_pins: pinmux_uart1_pins {
pinctrl-single,pins = <
0x180 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */
0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
>;
};
uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = <
0x150 0x21 /* spi0_sclk.uart2_rxd | MODE1 */
0x154 0x01 /* spi0_d0.uart2_txd | MODE1 */
>;
};
uart4_pins: pinmux_uart4_pins {
pinctrl-single,pins = <
0x070 0x26 /* gpmc_wait0.uart4_rxd | MODE6 */
0x074 0x06 /* gpmc_wpn.uart4_txd | MODE6 */
>;
};
uart5_pins: pinmux_uart5_pins {
pinctrl-single,pins = <
0x0C4 0x24 /* lcd_data9.uart5_rxd | MODE4 */
0x0C0 0x04 /* lcd_data8.uart5_txd | MODE4 */
>;
};
clkout2_pin: pinmux_clkout2_pin {
pinctrl-single,pins = <
0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
......
/*
* 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.
*/
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>;
status = "okay";
};
/*
* 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.
*/
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
status = "okay";
};
/*
* 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.
*/
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins>;
status = "okay";
};
/*
* 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.
*/
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&uart5_pins>;
status = "okay";
};
......@@ -33,3 +33,9 @@ &sham {
&aes {
status = "okay";
};
/* uartX */
/* #include "am335x-bone-ttyO1.dtsi" */
/* #include "am335x-bone-ttyO2.dtsi" */
/* #include "am335x-bone-ttyO4.dtsi" */
/* #include "am335x-bone-ttyO5.dtsi" */
......@@ -26,5 +26,12 @@ &am33xx_pinmux {
pinctrl-0 = <&clkout2_pin>;
};
/* uartX */
/* #include "am335x-bone-ttyO1.dtsi" */
/* #include "am335x-bone-ttyO2.dtsi" */
/* #include "am335x-bone-ttyO4.dtsi" */
/* am335x-boneblack: hdmi has to be disabled for ttyO5 */
/* #include "am335x-bone-ttyO5.dtsi" */
#include "am335x-boneblack-emmc.dtsi"
#include "am335x-boneblack-nxp-hdmi.dtsi"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment