1/* 2 * Copyright (c) 2024 Antmicro <www.antmicro.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <oct/osd32mp15x.dtsi> 9#include <zephyr/dt-bindings/input/input-event-codes.h> 10 11/ { 12 model = "Octavo Systems OSD32MP1-BRK"; 13 compatible = "oct,osd32mp1-brk"; 14 chosen { 15 /* 16 * By default, Zephyr console and shell are assigned to 17 * remoteproc. To enable console and shell over UART, uncomment 18 * following lines and set the correct config in 19 * osd32mp1_brk_defconfig "Serial Port" section in Zephyr 20 * board documentation. 21 * zephyr,console = &usart2; 22 * zephyr,shell-uart = &usart2; 23 */ 24 zephyr,flash = &retram; 25 zephyr,sram = &mcusram; 26 }; 27 28 leds { 29 compatible = "gpio-leds"; 30 green_led_2: led_1 { 31 label = "LED2_GRN"; 32 gpios = <&gpioi 9 GPIO_ACTIVE_HIGH>; 33 status = "okay"; 34 }; 35 }; 36 37 gpio_keys { 38 compatible = "gpio-keys"; 39 user_button: button { 40 label = "User 1"; 41 gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; 42 zephyr,code = <INPUT_KEY_0>; 43 }; 44 }; 45 46 aliases { 47 led0 = &green_led_2; 48 sw0 = &user_button; 49 }; 50}; 51 52&spi4_miso_pe13 { 53 slew-rate = "very-high-speed"; 54}; 55 56&usart2 { 57 pinctrl-0 = <&usart2_tx_pf5 &usart2_rx_pf4>; 58 pinctrl-names = "default"; 59 current-speed = <115200>; 60 status = "okay"; 61}; 62 63&uart7 { 64 pinctrl-0 = <&uart7_tx_pa15 &uart7_rx_pb3>; 65 pinctrl-names = "default"; 66 current-speed = <115200>; 67 status = "okay"; 68}; 69 70&i2c5 { 71 pinctrl-0 = <&i2c5_scl_pd1 &i2c5_sda_pd0>; 72 pinctrl-names = "default"; 73 status = "okay"; 74 clock-frequency = <I2C_BITRATE_FAST>; 75}; 76 77&uart7_tx_pa15 { 78 bias-disable; 79}; 80 81&uart7_rx_pb3 { 82 bias-disable; 83}; 84 85&usart2_tx_pf5 { 86 bias-disable; 87}; 88 89&usart2_rx_pf4 { 90 bias-disable; 91}; 92