TS-7250-V3 TS-SER1: Difference between revisions
From embeddedTS Manuals
m (Links auto-updated for 2022 re-branding ( http://www.embeddedarm.com/products/board-detail.php?product=TS-SER1 → http://www.embeddedTS.com/products/board-detail.php?product=TS-SER1)) |
No edit summary |
||
Line 25: | Line 25: | ||
#address-cells = <0x1>; | #address-cells = <0x1>; | ||
#size-cells = <0x1>; | #size-cells = <0x1>; | ||
/* TS-SER1 */ | /* TS-SER1 */ | ||
Line 35: | Line 33: | ||
interrupt-parent = <&fpga_intc>; | interrupt-parent = <&fpga_intc>; | ||
interrupts = <15>; | interrupts = <15>; | ||
}; | }; | ||
}; | }; |
Revision as of 11:00, 10 May 2023
Product Page | |
8-bit IO |
---|
The TS-SER1 provides a single RS-232 port.
The TS-SER1 implements 16550A based UART which require a kernel driver. Under Linux this requires a device tree change. See the Kernel compile section for more details about getting set up the compile the kernel.
This below example will set up the serial devices for a TS-SER1 with the IRQ6 and COM3 jumpers installed. Open the device tree at arch/arm/boot/dts/imx6ul-ts7250v3.dts. Add the highlighted section to the device tree and recompile.
pc104bus: fpgaisa@50 {
compatible = "technologic,pc104-bus";
reg = <0x50 0x4>;
ranges = <0 0 0x1000>;
reset-gpio = <&gpio3 7 0>;
#address-cells = <0x1>;
#size-cells = <0x1>;
/* TS-SER1 */
ts16550@3e8 {
compatible = "technologic,ts16550";
reg = <0x3e8 8>;
interrupt-parent = <&fpga_intc>;
interrupts = <15>;
};
};
On the next boot check the "dmesg" output to verify it loaded:
root@tsimx6:~# dmesg | grep ts16550 [ 2.259413] ts16550 50004050.fpgaisa:ts16550@3e8: Adding 16550 UART ttyS0
The device node /dev/ttyS0 can be used to access this UART.