Skip to content

Commit

Permalink
[nrf noup] dts: Select SoftDevice Controller DTS binding as default
Browse files Browse the repository at this point in the history
The Softdevice Controller is enabled using the device tree.
Added a device tree node that enables the SDC and disables the Zephyr
Bluetooth controller.

Signed-off-by: Rafał Kuźnia <[email protected]>
  • Loading branch information
e-rk committed Oct 15, 2024
1 parent 187d590 commit 765a2ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions boards/nordic/nrf54l20pdk/nrf54l20_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
7 changes: 4 additions & 3 deletions dts/common/nordic/nrf54l20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@
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 765a2ed

Please sign in to comment.