1/*
2 * Copyright (c) Bobby Noelte
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <st/f0/stm32f071.dtsi>
8
9/ {
10	soc {
11		compatible = "st,stm32f091", "st,stm32f0", "simple-bus";
12
13		/*
14		 * USARTs 3-8 share the same IRQ on stm32f091xx devices. This
15		 * configuration is not currently supported, so at most one of
16		 * these may be enabled at a time. Enabling more than one will
17		 * result in a build failure.
18		 */
19		usart5: serial@40005000 {
20			compatible = "st,stm32-usart", "st,stm32-uart";
21			reg = <0x40005000 0x400>;
22			clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00100000>;
23			resets = <&rctl STM32_RESET(APB1, 20U)>;
24			interrupts = <29 0>;
25			status = "disabled";
26		};
27
28		usart6: serial@40011400 {
29			compatible = "st,stm32-usart", "st,stm32-uart";
30			reg = <0x40011400 0x400>;
31			clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000020>;
32			resets = <&rctl STM32_RESET(APB2, 5U)>;
33			interrupts = <29 0>;
34			status = "disabled";
35		};
36
37		usart7: serial@40011800 {
38			compatible = "st,stm32-usart", "st,stm32-uart";
39			reg = <0x40011800 0x400>;
40			clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000040>;
41			resets = <&rctl STM32_RESET(APB2, 6U)>;
42			interrupts = <29 0>;
43			status = "disabled";
44		};
45
46		usart8: serial@40011C00 {
47			compatible = "st,stm32-usart", "st,stm32-uart";
48			reg = <0x40011C00 0x400>;
49			clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000080>;
50			resets = <&rctl STM32_RESET(APB2, 7U)>;
51			interrupts = <29 0>;
52			status = "disabled";
53		};
54
55		can1: can@40006400 {
56			compatible = "st,stm32-bxcan";
57			reg = <0x40006400 0x400>;
58			interrupts = <30 0>;
59			clocks = <&rcc STM32_CLOCK_BUS_APB1 0x02000000>;
60			status = "disabled";
61			sample-point = <875>;
62		};
63
64		dma2: dma@40020400 {
65			compatible = "st,stm32-dma-v2bis";
66			#dma-cells = <2>;
67			reg = <0x40020400 0x400>;
68			interrupts = <10 0 10 0 11 0 11 0 11 0>;
69			clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
70			status = "disabled";
71		};
72	};
73};
74