1/* 2 * Copyright (c) 2023, Meta 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 chosen { 9 zephyr,console = &devmux0; 10 zephyr,shell_uart = &devmux0; 11 }; 12 13 euart0: uart_emul0 { 14 compatible = "zephyr,uart-emul"; 15 current-speed = <0>; 16 status = "okay"; 17 }; 18 19 euart1: uart_emul1 { 20 compatible = "zephyr,uart-emul"; 21 current-speed = <0>; 22 status = "okay"; 23 }; 24 25 devmux0: dev_mux_0 { 26 compatible = "zephyr,devmux"; 27 devices = <&uart0 &euart0 &euart1>; 28 zephyr,mutable; 29 status = "okay"; 30 }; 31 32 devmux1: dev_mux_1 { 33 compatible = "zephyr,devmux"; 34 devices = <&uart0 &euart0 &euart1>; 35 zephyr,mutable; 36 selected = <2>; 37 status = "okay"; 38 }; 39}; 40