Other Parts Discussed in Thread: BEAGLEBOARD-X15, PMP
Tool/software: Linux
Hi,
I have done the following to enable the uart ports:
- Decompile /boot/dtbs/4.14.79-ti-r84.1/am57xx-beagle-x15-revc.dtb into a .dts
- Edit the status field to "okay" of the following ports:
serial@4806a000 {
compatible = "ti,dra742-uart", "ti,omap4-uart";
reg = <0x4806a000 0x100>;
interrupts-extended = <0x1 0x0 0x43 0x4>;
ti,hwmods = "uart1";
clock-frequency = <0x2dc6c00>;
status = "okay";
dmas = <0xb3 0x31 0xb3 0x32>;
dma-names = "tx", "rx";
phandle = <0x1a7>;
};
serial@4806c000 {
compatible = "ti,dra742-uart", "ti,omap4-uart";
reg = <0x4806c000 0x100>;
interrupts = <0x0 0x44 0x4>;
ti,hwmods = "uart2";
clock-frequency = <0x2dc6c00>;
status = "okay";
dmas = <0xb3 0x33 0xb3 0x34>;
dma-names = "tx", "rx";
phandle = <0x1a8>;
};
- Recompile the dts to dtb.
Now I can see how uart 0 and 1 have a ttyO0 and ttyO1 in /dev/ and the following information is shown when I run cat /proc/tty/driver/serial:
0: uart:8250 mmio:0x4806A000 irq:45 tx:0 rx:0 DSR 1: uart:8250 mmio:0x4806C000 irq:46 tx:0 rx:0 DSR 2: uart:8250 mmio:0x48020000 irq:47 tx:193 rx:0 RTS|DTR|DSR 3: uart:unknown port:00000000 irq:0 4: uart:unknown port:00000000 irq:0 5: uart:unknown port:00000000 irq:0 |
However, if we probe the pins corresponding to those uart we don't see data going through when it is sent.
What else do we need to do to enable UARTs ?
Thank you.