1/*
2 * Copyright (c) 2022 Seco Spa
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <mem.h>
8#include <st/f3/stm32f302.dtsi>
9
10/ {
11	sram0: memory@20000000 {
12		reg = <0x20000000 DT_SIZE_K(40)>;
13	};
14
15	soc {
16		flash-controller@40022000 {
17			flash0: flash@8000000 {
18				reg = <0x08000000 DT_SIZE_K(256)>;
19			};
20		};
21
22		dma2: dma@40020400 {
23			compatible = "st,stm32-dma-v2bis";
24			#dma-cells = <2>;
25			reg = <0x40020400 0x400>;
26			clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
27			interrupts = <56 0 57 0 58 0 59 0 60 0>;
28			status = "disabled";
29		};
30
31		uart5: serial@40005000 {
32			compatible = "st,stm32-uart";
33			reg = <0x40005000 0x400>;
34			clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00100000>;
35			interrupts = <53 0>;
36			status = "disabled";
37		};
38
39		pinctrl: pin-controller@48000000 {
40			gpioe: gpio@48001000 {
41				compatible = "st,stm32-gpio";
42				gpio-controller;
43				#gpio-cells = <2>;
44				reg = <0x48001000 0x400>;
45				clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00200000>;
46			};
47		};
48	};
49};
50
51/delete-node/ &i2c3;
52