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:
Laurentiu Mihalcea 2024-03-21 16:00:52 +02:00 committed by Anas Nashif
parent 30b27c73c3
commit 94d156c9c8
4 changed files with 26 additions and 1 deletions

View file

@ -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";
};

View file

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

View file

@ -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";
};
};

View file

@ -193,7 +193,7 @@ manifest:
groups:
- hal
- name: hal_nxp
revision: 4ab0e7bc9c44840cbb22a6dd74c214713f239182
revision: f6c7108caf50684742689bfab838048208963f4f
path: modules/hal/nxp
groups:
- hal