1/* 2 * Copyright The Zephyr Project Contributors 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 chosen { 9 zephyr,console = &cdc_acm_uart0; 10 zephyr,shell-uart = &cdc_acm_uart0; 11 }; 12 13 uart-bridge0 { 14 compatible = "zephyr,uart-bridge"; 15 peers = <&cdc_acm_uart1 &uart1>; 16 }; 17 18 dp0 { 19 compatible = "zephyr,swdp-gpio"; 20 status = "okay"; 21 clk-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 22 dio-gpios = <&gpio0 14 GPIO_PULL_UP>; 23 port-write-cycles = <1>; 24 }; 25}; 26 27&zephyr_udc0 { 28 cdc_acm_uart0: cdc_acm_uart0 { 29 compatible = "zephyr,cdc-acm-uart"; 30 label = "Zephyr USB CDC-ACM console"; 31 }; 32 33 cdc_acm_uart1: cdc_acm_uart1 { 34 compatible = "zephyr,cdc-acm-uart"; 35 label = "Zephyr USB CDC-ACM target"; 36 }; 37}; 38