Thanks Miroslav. I have read the documents you mentioned. Still a few things that Im a bit unclear on. For uart0, the linux console, I also see the following in am335x-bone-common:
uart0_pins: pinmux_uart0_pins {
pinctrl-single,pins = <
0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
>;
};
and:
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;
status = "okay";
};
It appears that these sections are needed since uart0 uses tx/rx pins straight off the processor. For an external uart, can I omit these sections completely? Seems that I can definitely omit "uart0_pins: pinmux_uart0_pins" node. But should I keep the "&uart0" node since it contains the line:
status = "okay"
In my uart6 node in the original post the status is set to status = "disabled", so Im wondering if I need this status = "okay" somewhere in the dts to enable the port.
Also, is there any easy way to know how my new serial port will look in the /dev directory once linux boots? Just want to know what to look for to see if my serial port is there. My kernel boots with the linux console at /dev/ttyO0. There is also /dev/ttyS0-S3. Not sure where these are coming from.
Thanks for your help - Anthony