1/* 2 * Copyright (c) 2020 Alexander Kozhinov <ak.alexander.kozhinov@gmail.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <st/h7/stm32h745Xi_m4.dtsi> 9#include "nucleo_h745zi_q.dtsi" 10 11/ { 12 model = "STMicroelectronics STM32H745ZI-Q-NUCLEO board"; 13 compatible = "st,stm32h745zi-q-nucleo"; 14 15 /* HW resources belonging to CM4 */ 16 chosen { 17 zephyr,console = &uart8; 18 zephyr,shell-uart = &uart8; 19 zephyr,sram = &sram1; 20 zephyr,flash = &flash1; 21 }; 22 23 aliases { 24 led0 = &yellow_led; 25 }; 26}; 27 28&uart8 { 29 pinctrl-0 = <&uart8_tx_pe1 &uart8_rx_pe0>; 30 pinctrl-names = "default"; 31 current-speed = <115200>; 32 status = "okay"; 33}; 34 35&rcc { 36 clock-frequency = <DT_FREQ_M(240)>; 37}; 38 39&spi1 { 40 pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>; 41 pinctrl-names = "default"; 42 cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 43 status = "okay"; 44}; 45