Hi, I'm developing a custom board using ls1028a.
I added lpuart to dtsi to use lpuart,
lpuart2: serial@2280000 {
compatible = "fsl,ls1028a-lpuart";
reg = <0x0 0x2280000 0x0 0x1000>;
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 4 1>;
clock-names = "ipg";
little-endian;
status = "okay";
};
and added it to dts as follows.
&lpuart2 {
status = "okay";
};
After creating and checking the image file, ttyLP0 was created under /dev. But when I checked because there was no communication, I found the following log.
root@TinyLinux:~# dmesg | grep lpuart
[ 3.465382] fsl-lpuart 2280000.serial: DMA tx channel request failed, operating without tx DMA
[ 3.474030] fsl-lpuart 2280000.serial: DMA rx channel request failed, operating without rx DMA
[ 3.492118] fsl-lpuart 2290000.serial: DMA tx channel request failed, operating without tx DMA
[ 3.500765] fsl-lpuart 2290000.serial: DMA rx channel request failed, operating without rx DMA
I think it's a problem that doesn't have access to DMA, but it's hard to determine whether it's a hardware problem or a software problem.
For your information, the basic uart works properly.
I'd appreciate it if you could give me an answer.