62 lines
1.0 KiB
Plaintext
62 lines
1.0 KiB
Plaintext
/*
|
|
* Copyright (c) 2021 Sateesh Kotapati
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "efr32bg2x.dtsi"
|
|
#include <dt-bindings/clock/silabs/xg22-clock.h>
|
|
#include <mem.h>
|
|
|
|
&cmu {
|
|
interrupts = <46 0>;
|
|
};
|
|
|
|
&msc {
|
|
flash0: flash@0 {
|
|
compatible = "soc-nv-flash";
|
|
write-block-size = <4>;
|
|
erase-block-size = <8192>;
|
|
reg = <0x0 DT_SIZE_K(512)>;
|
|
};
|
|
};
|
|
|
|
&sram0 {
|
|
reg = <0x20000000 DT_SIZE_K(32)>;
|
|
};
|
|
|
|
&gpio {
|
|
interrupts = <10 2 18 2>;
|
|
clocks = <&cmu CLOCK_GPIO CLOCK_BRANCH_PCLK>;
|
|
};
|
|
|
|
&i2c0 {
|
|
interrupts = <27 0>;
|
|
clocks = <&cmu CLOCK_I2C0 CLOCK_BRANCH_LSPCLK>;
|
|
};
|
|
|
|
&i2c1 {
|
|
interrupts = <28 0>;
|
|
clocks = <&cmu CLOCK_I2C1 CLOCK_BRANCH_PCLK>;
|
|
};
|
|
|
|
&usart0 {
|
|
interrupts = <13 0>, <14 0>;
|
|
clocks = <&cmu CLOCK_USART0 CLOCK_BRANCH_PCLK>;
|
|
};
|
|
|
|
&usart1 {
|
|
interrupts = <15 0>, <16 0>;
|
|
clocks = <&cmu CLOCK_USART1 CLOCK_BRANCH_PCLK>;
|
|
};
|
|
|
|
&burtc0 {
|
|
interrupts = <18 0>;
|
|
clocks = <&cmu CLOCK_BURTC CLOCK_BRANCH_EM4GRPACLK>;
|
|
};
|
|
|
|
&stimer0 {
|
|
interrupts = <12 0>;
|
|
clocks = <&cmu CLOCK_RTCC CLOCK_BRANCH_RTCCCLK>;
|
|
};
|