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
4 changed files with 26 additions and 1 deletions
|
@ -15,5 +15,14 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &sram0;
|
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_LOG=y
|
||||||
|
|
||||||
CONFIG_CLOCK_CONTROL=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";
|
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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
2
west.yml
2
west.yml
|
@ -193,7 +193,7 @@ manifest:
|
||||||
groups:
|
groups:
|
||||||
- hal
|
- hal
|
||||||
- name: hal_nxp
|
- name: hal_nxp
|
||||||
revision: 4ab0e7bc9c44840cbb22a6dd74c214713f239182
|
revision: f6c7108caf50684742689bfab838048208963f4f
|
||||||
path: modules/hal/nxp
|
path: modules/hal/nxp
|
||||||
groups:
|
groups:
|
||||||
- hal
|
- hal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue