Skip to content

Commit

Permalink
[nrf noup] dts: Select SoftDevice Controller on nRF54L09
Browse files Browse the repository at this point in the history
The SDC HCI controller is defined as a device tree node.
A node representing the SDC controller is added and selected as the
default over the open source link layer. This is consistent with other
SoCs.

Signed-off-by: Rafał Kuźnia <[email protected]>
  • Loading branch information
e-rk committed Feb 20, 2025
1 parent a2b3371 commit 163bbf8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions boards/nordic/nrf54l09pdk/nrf54l09_cpuapp_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
zephyr,bt-c2h-uart = &uart20;
zephyr,flash-controller = &rram_controller;
zephyr,flash = &cpuapp_rram;
zephyr,bt-hci = &bt_hci_controller;
zephyr,bt-hci = &bt_hci_sdc;
zephyr,ieee802154 = &ieee802154;
};
};
Expand Down Expand Up @@ -108,7 +108,7 @@
status = "okay";
};

&bt_hci_controller {
&bt_hci_sdc {
status = "okay";
};

Expand Down
4 changes: 2 additions & 2 deletions dts/arm/nordic/nrf54l09_enga_cpuapp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ nvic: &cpuapp_nvic {};

/ {
chosen {
zephyr,bt-hci = &bt_hci_controller;
zephyr,bt-hci = &bt_hci_sdc;
zephyr,entropy = &prng;
};

Expand All @@ -38,7 +38,7 @@ nvic: &cpuapp_nvic {};
};
};

&bt_hci_controller {
&bt_hci_sdc {
status = "okay";
};

Expand Down
8 changes: 5 additions & 3 deletions dts/common/nordic/nrf54l09.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,11 @@
status = "disabled";
};

/* Note: In the nRF Connect SDK the SoftDevice Controller
* is added and set as the default Bluetooth Controller.
*/
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "disabled";
};

bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
Expand Down

0 comments on commit 163bbf8

Please sign in to comment.