2020-01-24 03:51:16 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Paul M. Bendixen
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <mem.h>
|
|
|
|
#include <st/f3/stm32f303.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
ccm0: memory@10000000 {
|
|
|
|
compatible = "st,stm32-ccm";
|
|
|
|
reg = <0x10000000 DT_SIZE_K(16)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sram0: memory@20000000 {
|
|
|
|
reg = <0x20000000 DT_SIZE_K(64)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
flash-controller@40022000 {
|
|
|
|
flash0: flash@8000000 {
|
|
|
|
reg = <0x08000000 DT_SIZE_K(512)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
dma2: dma@40020400 {
|
2021-01-08 03:37:04 +08:00
|
|
|
compatible = "st,stm32-dma-v2";
|
2020-01-24 03:51:16 +08:00
|
|
|
#dma-cells = <4>;
|
|
|
|
reg = <0x40020400 0x400>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
|
|
|
|
interrupts = <56 0 57 0 58 0 59 0 60 0>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "DMA_2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|