Commit 94d156c9 authored by Laurentiu Mihalcea's avatar Laurentiu Mihalcea Committed by Anas Nashif
Browse files

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: default avatarLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
parent 30b27c73
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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";
};
+5 −0
Original line number Diff line number Diff line
@@ -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
+11 −0
Original line number Diff line number Diff line
@@ -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";
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@ manifest:
      groups:
        - hal
    - name: hal_nxp
      revision: 4ab0e7bc9c44840cbb22a6dd74c214713f239182
      revision: f6c7108caf50684742689bfab838048208963f4f
      path: modules/hal/nxp
      groups:
        - hal