1/* 2 * Copyright (c) 2025 Joel Guittet 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 chosen { 8 uart,passthrough = &uartbb0; 9 }; 10 11 uartbb0: uartbb0 { 12 compatible = "zephyr,uart-bitbang"; 13 tx-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; 14 rx-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; 15 current-speed = <19200>; 16 data-bits = <8>; 17 stop-bits = "1"; 18 parity = "none"; 19 tx-timer = <&timer0>; 20 rx-timer = <&timer1>; 21 status = "okay"; 22 }; 23}; 24 25&timer0 { 26 status = "okay"; 27 counter { 28 status = "okay"; 29 }; 30}; 31 32&timer1 { 33 status = "okay"; 34 counter { 35 status = "okay"; 36 }; 37}; 38