1/* 2 * Copyright (c) 2023 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include "nucleo_u5a5zj_q-common.dtsi" 9 10/ { 11 model = "STMicroelectronics STM32U5A5ZJ-NUCLEO-Q board"; 12 compatible = "st,stm32u5a5zj-nucleo-q"; 13 14 #address-cells = <1>; 15 #size-cells = <1>; 16 17 chosen { 18 zephyr,console = &usart1; 19 zephyr,shell-uart = &usart1; 20 zephyr,sram = &sram0; 21 zephyr,flash = &flash0; 22 zephyr,canbus = &fdcan1; 23 zephyr,code-partition = &slot0_partition; 24 }; 25 26 aliases { 27 led0 = &blue_led_1; 28 sw0 = &user_button; 29 pwm-led0 = &pwm_led_1; 30 pwm-led1 = &pwm_led_2; 31 watchdog0 = &iwdg; 32 volt-sensor0 = &vref1; 33 volt-sensor1 = &vbat4; 34 }; 35}; 36 37&flash0 { 38 partitions { 39 compatible = "fixed-partitions"; 40 #address-cells = <1>; 41 #size-cells = <1>; 42 43 /* 44 * Following flash partition is dedicated to the use of nucleo_u5a5zj_q 45 * with TZEN=0 (so w/o TFM). 46 */ 47 boot_partition: partition@0 { 48 label = "mcuboot"; 49 reg = <0x00000000 DT_SIZE_K(64)>; 50 }; 51 52 slot0_partition: partition@10000 { 53 label = "image-0"; 54 reg = <0x00010000 DT_SIZE_K(1952)>; 55 }; 56 57 slot1_partition: partition@1f8000 { 58 label = "image-1"; 59 reg = <0x001f8000 DT_SIZE_K(1960)>; 60 }; 61 62 storage_partition: partition@3e2000 { 63 label = "storage"; 64 reg = <0x003e2000 DT_SIZE_K(120)>; 65 }; 66 67 }; 68}; 69 70&usart1 { 71 pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; 72 pinctrl-names = "default"; 73 current-speed = <115200>; 74 status = "okay"; 75}; 76 77&gpdma1 { 78 status = "okay"; 79}; 80 81zephyr_udc0: &usbotg_hs { 82 pinctrl-0 = <&usb_otg_hs_dm_pa11 &usb_otg_hs_dp_pa12>; 83 pinctrl-names = "default"; 84 status = "okay"; 85}; 86 87&otghs_phy { 88 clock-reference = "SYSCFG_OTG_HS_PHY_CLK_16MHz"; 89}; 90