| /* |
| * Copyright (c) 2020 Yestin Sun |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /dts-v1/; |
| #include "stm32l562e_dk_common.dtsi" |
| |
| / { |
| model = "STMicroelectronics STM32L562E-DK Discovery board"; |
| compatible = "st,stm32l562e-dk"; |
| |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| chosen { |
| zephyr,console = &usart1; |
| zephyr,shell-uart = &usart1; |
| zephyr,sram = &sram0; |
| zephyr,flash = &flash0; |
| }; |
| |
| aliases { |
| led0 = &green_led_10; |
| sw0 = &user_button; |
| }; |
| }; |
| |
| &cpu0 { |
| cpu-power-states = <&stop0 &stop1 &stop2>; |
| }; |
| |
| &usart1 { |
| pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; |
| }; |
| |
| &lptim1 { |
| status = "okay"; |
| }; |
| |
| &timers2 { |
| pwm { |
| st,prescaler = <10000>; |
| }; |
| }; |
| |
| &iwdg { |
| status = "okay"; |
| }; |
| |
| &aes { |
| status = "okay"; |
| }; |
| |
| &flash0 { |
| partitions { |
| compatible = "fixed-partitions"; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| /* 2KB at the end of 512KB flash is set for storage */ |
| storage_partition: partition@7f800 { |
| label = "storage"; |
| reg = <0x0007f800 0x00000800>; |
| }; |
| }; |
| }; |