Skip to content

Commit f18fbe2

Browse files
committed
[nrf fromtree] dts: nordic: Add Channel Sounding support to nrf-radio
- Added `cs-supported` property to nrf-radio devicetree - Added `HAS_HW_NRF_RADIO_CS` Kconfig option which is set if `cs-supported` property is enabled - Enabled `cs-supported` property for nrf54-series devices - Disabled `cs-supported` on nrf54l15bsim because it is not yet supported Signed-off-by: Ivan Iushkov <[email protected]> (cherry picked from commit e357814)
1 parent ea7e265 commit f18fbe2

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

boards/native/nrf_bsim/nrf54l15bsim_nrf54l15_cpuapp.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@
9797

9898
&radio {
9999
status = "okay";
100-
/* This feature is not yet supported by the RADIO model */
100+
/* These features are not yet supported by the RADIO model */
101101
/delete-property/ dfe-supported;
102+
/delete-property/ cs-supported;
102103
};
103104

104105
&clock {

dts/bindings/net/wireless/nordic,nrf-radio.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,10 @@ properties:
227227
description: |
228228
If set, indicates that the radio hardware supports high TX power
229229
settings.
230+
231+
cs-supported:
232+
type: boolean
233+
description: |
234+
If set, the radio hardware supports the BLE Channel Sounding feature.
235+
This property should be treated as read-only and should not be overridden;
236+
the correct value is provided for your target's SoC already.

dts/common/nordic/nrf54h20.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@
400400
status = "disabled";
401401
ble-2mbps-supported;
402402
ble-coded-phy-supported;
403+
cs-supported;
403404
dfe-supported;
404405
ieee802154-supported;
405406
interrupts = <44 NRF_DEFAULT_IRQ_PRIORITY>;

dts/common/nordic/nrf54l15.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@
211211
ieee802154-supported;
212212
ble-2mbps-supported;
213213
ble-coded-phy-supported;
214+
cs-supported;
214215

215216
ieee802154: ieee802154 {
216217
compatible = "nordic,nrf-ieee802154";

soc/nordic/common/Kconfig.peripherals

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ config HAS_HW_NRF_RADIO_BLE_2M
200200
config HAS_HW_NRF_RADIO_BLE_CODED
201201
def_bool $(dt_nodelabel_bool_prop,radio,ble-coded-phy-supported)
202202

203+
config HAS_HW_NRF_RADIO_CS
204+
def_bool $(dt_nodelabel_bool_prop,radio,cs-supported)
205+
203206
config HAS_HW_NRF_RADIO_DFE
204207
def_bool $(dt_nodelabel_bool_prop,radio,dfe-supported)
205208

0 commit comments

Comments
 (0)