
Kernel Configure Tree View Options
Description
Serial drivers --->
<*> Freescale lpuart serial
port support
[*] Console on Freescale lpuart
serial port
Identifier
Below are the configure identifiers which are used in kernel source code and default configuration files.
Option
Values
Default Value
Description
CONFIG_SERIAL_FSL_LPU
ART
y/m/n
n
LPUART Driver
Device Tree Binding
Below is an example device tree node required by this feature. Note that it may have differences among platforms.
lpuart0: serial@2950000 {
compatible = "fsl,vf610-lpuart";
reg = <0x0 0x2950000 0x0 0x1000>;
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sysclk>;
clock-names = "ipg";
fsl,lpuart32;
status = "okay";
Source Files
The following source file are related to this feature in U-Boot.
Source File
Description
drivers/serial/serial_lpuart.c
The LPUART driver file
The following source file are related to this feature in Linux kernel.
Source File
Description
drivers/tty/serial/fsl_lpuart.c
The LPUART driver file
Verification in U-Boot
1. Boot up U-Boot from bank0, and update rcw and U-Boot for LPUART support to bank4, first copy the rcw and U-Boot binary
to the TFTP directory.
2. Please refer to the platform deploy document to update the rcw and U-Boot.
Linux kernel
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
52
NXP Semiconductors
Summary of Contents for Layerscape LS1028A BSP
Page 135: ......