| /* |
| * Copyright 2024 NXP |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| / { |
| chosen { |
| zephyr,flash = &ocram; |
| zephyr,console = &lpuart2; |
| zephyr,shell-uart = &lpuart2; |
| |
| /* Delete ipc chosen property where old IPM mailbox driver bellow is |
| * configured. |
| */ |
| /delete-property/ zephyr,ipc; |
| }; |
| |
| soc { |
| /delete-node/ gpt@400f0000; |
| |
| /* Replace GPT2 with another GPT kernel timer */ |
| gpt2_hw_timer:gpt@400f0000 { |
| compatible = "nxp,gpt-hw-timer"; |
| reg = <0x400f0000 0x4000>; |
| interrupts = <120 0>; |
| status = "okay"; |
| }; |
| |
| /* Delete IPM Driver node nxp,imx-mu */ |
| /delete-node/ mailbox@40c4c000; |
| |
| /* Attach MBOX driver to MU Unit */ |
| mbox:mbox@40c4c000 { |
| compatible = "nxp,mbox-imx-mu"; |
| reg = <0x40c4c000 0x4000>; |
| interrupts = <118 0>; |
| rx-channels = <4>; |
| #mbox-cells = <1>; |
| status = "okay"; |
| }; |
| }; |
| |
| mbox-consumer { |
| compatible = "vnd,mbox-consumer"; |
| mboxes = <&mbox 3>, <&mbox 2>; |
| mbox-names = "tx", "rx"; |
| }; |
| }; |
| |
| /* Enable secondary LPUART */ |
| &lpuart2 { |
| status = "okay"; |
| current-speed = <115200>; |
| }; |
| |
| /* Disable primary GPT timer */ |
| &gpt_hw_timer { |
| status = "disabled"; |
| }; |