1/* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 chosen { 9 zephyr,flash = &ocram; 10 zephyr,console = &lpuart1; 11 zephyr,shell-uart = &lpuart1; 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 0>, <&mbox 1>; 47 mbox-names = "tx", "rx"; 48 }; 49}; 50 51/* Disable primary GPT timer */ 52&gpt_hw_timer { 53 status = "disabled"; 54}; 55