1/* 2 * Copyright 2024 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 chosen { 9 zephyr,flash = &ocram; 10 zephyr,console = &lpuart2; 11 zephyr,shell-uart = &lpuart2; 12 13 /* Delete ipc chosen property where old IPM mailbox driver bellow is 14 * configured. 15 */ 16 /delete-property/ zephyr,ipc; 17 }; 18 19 soc { 20 /delete-node/ gpt@400f0000; 21 22 /* Replace GPT2 with another GPT kernel timer */ 23 gpt2_hw_timer:gpt@400f0000 { 24 compatible = "nxp,gpt-hw-timer"; 25 reg = <0x400f0000 0x4000>; 26 interrupts = <120 0>; 27 status = "okay"; 28 }; 29 30 /* Delete IPM Driver node nxp,imx-mu */ 31 /delete-node/ mailbox@40c4c000; 32 33 /* Attach MBOX driver to MU Unit */ 34 mbox:mbox@40c4c000 { 35 compatible = "nxp,mbox-imx-mu"; 36 reg = <0x40c4c000 0x4000>; 37 interrupts = <118 0>; 38 rx-channels = <4>; 39 #mbox-cells = <1>; 40 status = "okay"; 41 }; 42 }; 43 44 mbox-consumer { 45 compatible = "vnd,mbox-consumer"; 46 mboxes = <&mbox 2>, <&mbox 3>, <&mbox 0>, <&mbox 1>, <&mbox 3>, 47 <&mbox 2>, <&mbox 1>, <&mbox 0>; 48 mbox-names = "tx0", "rx0", "tx1", "rx1", "tx2", "rx2", "tx3", 49 "rx3"; 50 }; 51}; 52 53/* Enable secondary LPUART */ 54&lpuart2 { 55 status = "okay"; 56 current-speed = <115200>; 57}; 58 59/* Disable primary GPT timer */ 60&gpt_hw_timer { 61 status = "disabled"; 62}; 63