1/* 2 * Copyright (c) 2020 Piotr Mienkowski 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <silabs/efr32mg12p432f1024gl125.dtsi> 9#include <silabs/efr32xg12p-pinctrl.dtsi> 10#include "efr32_radio.dtsi" 11 12/ { 13 model = "Silicon Labs BRD4161A (Mighty Gecko Radio Board)"; 14 compatible = "silabs,efr32_radio_brd4161a", "silabs,efr32mg12p"; 15 16 aliases { 17 spi-flash0 = &mx25r80; 18 }; 19}; 20 21&cpu0 { 22 clock-frequency = <38400000>; 23}; 24 25&flash0 { 26 partitions { 27 compatible = "fixed-partitions"; 28 #address-cells = <1>; 29 #size-cells = <1>; 30 31 /* Reserve 32 kB for the bootloader */ 32 boot_partition: partition@0 { 33 label = "mcuboot"; 34 reg = <0x0 0x00008000>; 35 read-only; 36 }; 37 38 /* Reserve 220 kB for the application in slot 0 */ 39 slot0_partition: partition@8000 { 40 label = "image-0"; 41 reg = <0x00008000 0x00037000>; 42 }; 43 44 /* Reserve 220 kB for the application in slot 1 */ 45 slot1_partition: partition@3f000 { 46 label = "image-1"; 47 reg = <0x0003f000 0x00037000>; 48 }; 49 50 /* Reserve 32 kB for the scratch partition */ 51 scratch_partition: partition@76000 { 52 label = "image-scratch"; 53 reg = <0x00076000 0x00008000>; 54 }; 55 56 /* Set 8Kb of storage at the end of the 512KB of flash */ 57 storage_partition: partition@7e000 { 58 label = "storage"; 59 reg = <0x0007e000 0x00002000>; 60 }; 61 62 }; 63}; 64 65&usart0 { 66 current-speed = <115200>; 67 pinctrl-0 = <&usart0_default>; 68 pinctrl-names = "default"; 69 status = "okay"; 70}; 71