TS-7250-V3 TS-SER4: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 17: Line 17:


Under Linux this requires a device tree change.  See the [[#Compile the kernel|Kernel compile section]] for more details about getting set up the compile the kernel.
Under Linux this requires a device tree change.  See the [[#Compile the kernel|Kernel compile section]] for more details about getting set up the compile the kernel.
For example, with the IRQ2,IRQ6, and COM1 jumpers installed.


Open the device tree at arch/arm/boot/dts/imx6ul-ts7250v3.dts:
Open the device tree at arch/arm/boot/dts/imx6ul-ts7250v3.dts:
Line 23: Line 25:
compatible = "technologic,pc104-bus";
compatible = "technologic,pc104-bus";
reg = <0x50 0x4>;
reg = <0x50 0x4>;
ranges = <0 0 0x1000>;
ranges = <0 0 0x1000>;
reset-gpio = <&gpio3 7 0>;
reset-gpio = <&gpio3 7 0>;
#address-cells = <0x1>;
#address-cells = <0x1>;
#size-cells = <0x1>;
#size-cells = <0x1>;
Line 30: Line 34:
status = "okay";
status = "okay";


/* For TS-SER1 set IRQ6+COM3 jumpers on: */
/* COMA */
ts16550@3f8 {
compatible = "technologic,ts16550";
 
reg = <0x3f8 8>;
interrupt-parent = <&fpga_intc>;
interrupts = <15>;
 
status = "okay";
};
 
/* COMB */
ts16550@2f8 {
compatible = "technologic,ts16550";
 
reg = <0x2f8 8>;
interrupt-parent = <&fpga_intc>;
interrupts = <15>;
 
status = "okay";
};
 
/* COMC */
ts16550@3e8 {
ts16550@3e8 {
compatible = "technologic,ts16550";
compatible = "technologic,ts16550";


reg = <0x3e8 8>;
reg = <0x3e8 8>;
interrupt-parent = <&fpga_intc>;
interrupts = <15>;
status = "okay";
};
/* COMD */
ts16550@2e8 {
compatible = "technologic,ts16550";
reg = <0x2e8 8>;
interrupt-parent = <&fpga_intc>;
interrupt-parent = <&fpga_intc>;
interrupts = <15>;
interrupts = <15>;

Revision as of 17:15, 4 March 2020

TS-SER4
File:TS-SER4jpg
Product Page
8-bit IO

The TS-SER4 supports 4 UARTs as RS-232, RS-485, or RS-422.

Refer to the TS-SER4 manual for hardware documentation.

The TS-SER4 implements 16550A based UARTs 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.

For example, with the IRQ2,IRQ6, and COM1 jumpers installed.

Open the device tree at arch/arm/boot/dts/imx6ul-ts7250v3.dts:

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>;

	status = "okay";

	/* COMA */
	ts16550@3f8 {
		compatible = "technologic,ts16550";

		reg = <0x3f8 8>;
		interrupt-parent = <&fpga_intc>;
		interrupts = <15>;

		status = "okay";
	};

	/* COMB */
	ts16550@2f8 {
		compatible = "technologic,ts16550";

		reg = <0x2f8 8>;
		interrupt-parent = <&fpga_intc>;
		interrupts = <15>;

		status = "okay";
	};

	/* COMC */
	ts16550@3e8 {
		compatible = "technologic,ts16550";

		reg = <0x3e8 8>;
		interrupt-parent = <&fpga_intc>;
		interrupts = <15>;

		status = "okay";
	};

	/* COMD */
	ts16550@2e8 {
		compatible = "technologic,ts16550";

		reg = <0x2e8 8>;
		interrupt-parent = <&fpga_intc>;
		interrupts = <15>;

		status = "okay";
	};
};