2022-09-07 17:06:30 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Sateesh Kotapati
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2023-04-05 21:21:57 +08:00
|
|
|
#include "efr32bg2x.dtsi"
|
|
|
|
#include <mem.h>
|
2022-09-07 17:06:30 +08:00
|
|
|
|
2023-04-04 22:03:55 +08:00
|
|
|
&msc {
|
|
|
|
flash0: flash@0 {
|
|
|
|
compatible = "soc-nv-flash";
|
|
|
|
write-block-size = <4>;
|
|
|
|
erase-block-size = <8192>;
|
|
|
|
reg = <0x0 DT_SIZE_K(512)>;
|
2022-09-07 17:06:30 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-04-05 21:21:57 +08:00
|
|
|
&sram0 {
|
|
|
|
reg = <0x20000000 DT_SIZE_K(32)>;
|
2022-09-07 17:06:30 +08:00
|
|
|
};
|
|
|
|
|
2023-04-04 22:03:55 +08:00
|
|
|
&gpio {
|
|
|
|
interrupts = <10 2 18 2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
interrupts = <27 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
interrupts = <28 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart0 {
|
|
|
|
interrupts = <13 0>, <14 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart1 {
|
|
|
|
interrupts = <15 0>, <16 0>;
|
|
|
|
};
|
|
|
|
|
2023-04-05 23:51:04 +08:00
|
|
|
&burtc0 {
|
|
|
|
interrupts = <18 0>;
|
|
|
|
};
|
|
|
|
|
2023-04-04 22:03:55 +08:00
|
|
|
&stimer0 {
|
|
|
|
interrupts = <12 0>;
|
2022-09-07 17:06:30 +08:00
|
|
|
};
|