nxp: imx8ulp: enable serial interface
Enable serial interface on i.MX8ULP. This also includes a SHA update for hal_nxp which pulls in the following commits relevant to Zephyr: * 3366f234ed47 build: hal_nxp: add TPM counter support * 6544455fcf46 Compile in PXP driver if LVGL is set to use PXP. * 31463a848bcd devices: MIMX8UD7: add definition for LPUART_RX_TX_IRQS Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
30b27c73c3
commit
94d156c9c8
|
@ -15,5 +15,14 @@
|
|||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,console = &lpuart7;
|
||||
zephyr,shell-uart = &lpuart7;
|
||||
};
|
||||
};
|
||||
|
||||
&lpuart7 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&lpuart7_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
|
|
@ -7,3 +7,8 @@ CONFIG_DYNAMIC_INTERRUPTS=y
|
|||
CONFIG_LOG=y
|
||||
|
||||
CONFIG_CLOCK_CONTROL=y
|
||||
|
||||
# serial-related configurations
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
|
|
@ -45,4 +45,15 @@
|
|||
compatible = "nxp,imx8ulp-pinctrl";
|
||||
};
|
||||
};
|
||||
|
||||
/* note: this was intentionally left without an interrupt
|
||||
* property because HIFI4 DSP doesn't receive interrupts
|
||||
* from LPUART7.
|
||||
*/
|
||||
lpuart7: serial@29870000 {
|
||||
compatible = "nxp,kinetis-lpuart";
|
||||
reg = <0x29870000 DT_SIZE_K(4)>;
|
||||
clocks = <&pcc4 IMX8ULP_CLOCK_LPUART7 0x0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue