Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,8 @@ zephyr_udc0: &usbd {
compatible = "nordic,nrf-usbd";
status = "okay";
};

&lfclk {
k32src = "rc";
k32src-accuracy-ppm = <500>;
};
5 changes: 5 additions & 0 deletions boards/bbc/microbit/bbc_microbit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,8 @@
};
};
};

&lfclk {
k32src = "rc";
k32src-accuracy-ppm = <250>;
};
5 changes: 5 additions & 0 deletions boards/bbc/microbit_v2/bbc_microbit_v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,8 @@ zephyr_udc0: &usbd {
compatible = "nordic,nrf-usbd";
status = "okay";
};

&lfclk {
k32src = "rc";
k32src-accuracy-ppm = <250>;
};
6 changes: 1 addition & 5 deletions boards/beagle/beagleconnect_freedom/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# SPDX-License-Identifier: Apache-2.0

zephyr_library()
zephyr_library_sources(
board_antenna.c
)

zephyr_library_compile_definitions("DeviceFamily_CC13X2X7")
zephyr_library_sources(board_antenna.c)
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_BEAGLECONNECT_FREEDOM
select SOC_CC1352P7
select SOC_CC1352P7 if BOARD_BEAGLECONNECT_FREEDOM_CC1352P7
select SOC_CC1352P if BOARD_BEAGLECONNECT_FREEDOM_CC1352P
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include <ti/cc1352r7.dtsi>
#include "beagleconnect_freedom-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>

Expand Down Expand Up @@ -97,28 +94,6 @@
};
};

&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Allocate 56 KiB for mcuboot */
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(56)>;
};

/* Allocate 640 KiB for application */
slot0_partition: partition@e000 {
label = "image-0";
reg = <0x0000e000 DT_SIZE_K(640)>;
};

/* (avoid touching CCFG) */
};
};

&cpu0 {
clock-frequency = <48000000>;
};
Expand Down Expand Up @@ -181,29 +156,6 @@
t-enter-dpd = <20000>;
t-exit-dpd = <100000>;
jedec-id = [c8 40 15];

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Allocate 640 KiB for application */
slot1_partition: partition@0 {
label = "image-1";
reg = <0x00000000 DT_SIZE_K(640)>;
};

/* Allocate 128 KiB scratch for image swap */
scratch_partition: partition@a0000 {
label = "image-scratch";
reg = <0x000a0000 DT_SIZE_K(128)>;
};

storage_partition: partition@c0000 {
label = "storage";
reg = <0x000c0000 DT_SIZE_K(1280)>;
};
};
};
};

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* Copyright (c) 2025 Ayush Singh, BeagleBoard.org Foundation
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include <ti/cc1352r.dtsi>
#include "beagleconnect_freedom-common.dtsi"

&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Allocate 40 KiB for mcuboot */
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(40)>;
};

/* Allocate 304 KiB for application */
slot0_partition: partition@a000 {
label = "image-0";
reg = <0x0000a000 DT_SIZE_K(304)>;
};

/* (avoid touching CCFG) */
};
};

&spi_flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Allocate 304 KiB for application */
slot1_partition: partition@0 {
label = "image-1";
reg = <0x00000000 DT_SIZE_K(304)>;
};

/* Allocate 16 KiB scratch for image swap */
scratch_partition: partition@4c000 {
label = "image-scratch";
reg = <0x0004c000 DT_SIZE_K(16)>;
};

storage_partition: partition@50000 {
label = "storage";
reg = <0x00050000 DT_SIZE_K(1728)>;
};
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* Copyright (c) 2025 Ayush Singh, BeagleBoard.org Foundation
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include <ti/cc1352r7.dtsi>
#include "beagleconnect_freedom-common.dtsi"

&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Allocate 56 KiB for mcuboot */
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(56)>;
};

/* Allocate 640 KiB for application */
slot0_partition: partition@e000 {
label = "image-0";
reg = <0x0000e000 DT_SIZE_K(640)>;
};

/* (avoid touching CCFG) */
};
};

&spi_flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Allocate 640 KiB for application */
slot1_partition: partition@0 {
label = "image-1";
reg = <0x00000000 DT_SIZE_K(640)>;
};

/* Allocate 128 KiB scratch for image swap */
scratch_partition: partition@a0000 {
label = "image-scratch";
reg = <0x000a0000 DT_SIZE_K(128)>;
};

storage_partition: partition@c0000 {
label = "storage";
reg = <0x000c0000 DT_SIZE_K(1280)>;
};
};
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
identifier: beagleconnect_freedom
name: BeagleConnect Freedom
identifier: beagleconnect_freedom@C7/cc1352p7
name: BeagleConnect Freedom C7
type: mcu
arch: arm
ram: 144
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
identifier: beagleconnect_freedom@C5/cc1352p
name: BeagleConnect Freedom C5
type: mcu
arch: arm
ram: 80
flash: 352
toolchain:
- zephyr
- gnuarmemb
supported:
- gpio
- i2c
- spi
- uart
- hwinfo
- adc
- pwm
- flash
vendor: beagle
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Copyright (c) 2020 Erik Larson
# Copyright (c) 2020 Jason Kridner, BeagleBoard.org Foundation
#
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_GPIO=y

CONFIG_BUILD_OUTPUT_HEX=y
# custom callback for the antenna switch
CONFIG_CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_PIN=15
# Enable MPU and hardware stack protection
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y

# Enable default uart console
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
9 changes: 8 additions & 1 deletion boards/beagle/beagleconnect_freedom/board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@ board:
full_name: BeagleConnect Freedom
vendor: beagle
socs:
- name: cc1352p7
- name: cc1352p
- name: cc1352p7
revision:
format: custom
exact: true
revisions:
- name: "C5"
- name: "C7"
1 change: 1 addition & 0 deletions boards/beagle/beagleconnect_freedom/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The CC1352P7 wireless MCU has a 48 MHz Arm Cortex-M4F SoC and a Bluetooth Low En
The board also features a TI MSP430F5503 microcontroller used as a USB-to-serial bridge and
GPIO expander.

(NOTE: Rev C5 was pre-production revision and used TI CC1352P MCU. Rev C7, the production version uses TI CC1352P7.)

Supported Features
==================
Expand Down
13 changes: 13 additions & 0 deletions boards/beagle/beagleconnect_freedom/revision.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set(BOARD_REVISIONS "C5" "C7")

if(NOT BOARD_REVISION IN_LIST BOARD_REVISIONS)
message(FATAL_ERROR "${BOARD_REVISION} is not a valid revision for BeagleConnect Freedom. Accepted revisions: ${BOARD_REVISIONS}")
endif()

if("${BOARD_QUALIFIERS}" MATCHES "^/cc1352p7$" AND "${BOARD_REVISION}" STREQUAL "C5")
message(FATAL_ERROR "C5 only supports CC1352P. Use C7 instead.")
endif()

if("${BOARD_QUALIFIERS}" MATCHES "^/cc1352p$" AND "${BOARD_REVISION}" STREQUAL "C7")
message(FATAL_ERROR "C7 only supports CC1352P7. Use C5 instead.")
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -413,5 +413,10 @@
};
};

&lfclk {
k32src = "xtal";
k32src-accuracy-ppm = <250>;
};

/* Include partition configuration file */
#include "bl5340_dvk_nrf5340_cpuapp_partition_conf.dtsi"
8 changes: 8 additions & 0 deletions boards/ezurio/bl54l15_dvk/nrf54l_10_15_cpuapp_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@
status = "okay";
};

&xo {
status = "okay";
};
Comment thread
mif1-nordic marked this conversation as resolved.

&lfclk {
status = "okay";
};

&spi00 {
status = "okay";
cs-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
Expand Down
8 changes: 8 additions & 0 deletions boards/ezurio/bl54l15u_dvk/nrf54l15_cpuapp_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@
status = "okay";
};

&xo {
status = "okay";
};

&lfclk {
status = "okay";
};

&spi00 {
status = "okay";
cs-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
Expand Down
5 changes: 5 additions & 0 deletions boards/ezurio/bl652_dvk/bl652_dvk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,8 @@
};
};
};

&lfclk {
k32src = "rc";
k32src-accuracy-ppm = <500>;
};
5 changes: 5 additions & 0 deletions boards/ezurio/bl653_dvk/bl653_dvk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,8 @@ zephyr_udc0: &usbd {
&ieee802154 {
status = "okay";
};

&lfclk {
k32src = "rc";
k32src-accuracy-ppm = <500>;
};
5 changes: 5 additions & 0 deletions boards/ezurio/bl654_dvk/bl654_dvk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,8 @@ zephyr_udc0: &usbd {
compatible = "nordic,nrf-usbd";
status = "okay";
};

&lfclk {
k32src = "rc";
k32src-accuracy-ppm = <500>;
};
5 changes: 5 additions & 0 deletions boards/ezurio/bl654_sensor_board/bl654_sensor_board.dts
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,8 @@
};
};
};

&lfclk {
k32src = "xtal";
k32src-accuracy-ppm = <150>;
};
Loading
Loading