Skip to content

Commit 8bc628d

Browse files
rugeGerritsennordicjm
authored andcommitted
[nrf noup] dts: Select SoftDevice Controller DTS binding as default
The SoftDevice Controller is a different controller than the open source link layer with a different set of quirks. It should therefore have its own device tree binding. This commit converts the SoftDevice Controller driver to use this new DTS binding instead of reusing the existing one. This commit updates or adds additional overlays for existing samples, applications and tests that were using the open source link layer. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 8d6a853)
1 parent de051d6 commit 8bc628d

File tree

63 files changed

+365
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+365
-120
lines changed

dts/arm/nordic/nrf52805.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/ {
1313
chosen {
14-
zephyr,bt-hci = &bt_hci_controller;
14+
zephyr,bt-hci = &bt_hci_sdc;
1515
zephyr,entropy = &rng;
1616
zephyr,flash-controller = &flash_controller;
1717
};
@@ -97,12 +97,13 @@
9797
status = "okay";
9898
ble-2mbps-supported;
9999

100-
/* Note: In the nRF Connect SDK the SoftDevice Controller
101-
* is added and set as the default Bluetooth Controller.
102-
*/
100+
bt_hci_sdc: bt_hci_sdc {
101+
compatible = "nordic,bt-hci-sdc";
102+
status = "okay";
103+
};
103104
bt_hci_controller: bt_hci_controller {
104105
compatible = "zephyr,bt-hci-ll-sw-split";
105-
status = "okay";
106+
status = "disabled";
106107
};
107108
};
108109

dts/arm/nordic/nrf52810.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/ {
99
chosen {
10-
zephyr,bt-hci = &bt_hci_controller;
10+
zephyr,bt-hci = &bt_hci_sdc;
1111
zephyr,entropy = &rng;
1212
zephyr,flash-controller = &flash_controller;
1313
};
@@ -101,12 +101,13 @@
101101
status = "okay";
102102
ble-2mbps-supported;
103103

104-
/* Note: In the nRF Connect SDK the SoftDevice Controller
105-
* is added and set as the default Bluetooth Controller.
106-
*/
104+
bt_hci_sdc: bt_hci_sdc {
105+
compatible = "nordic,bt-hci-sdc";
106+
status = "okay";
107+
};
107108
bt_hci_controller: bt_hci_controller {
108109
compatible = "zephyr,bt-hci-ll-sw-split";
109-
status = "okay";
110+
status = "disabled";
110111
};
111112
};
112113

dts/arm/nordic/nrf52811.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/ {
1313
chosen {
14-
zephyr,bt-hci = &bt_hci_controller;
14+
zephyr,bt-hci = &bt_hci_sdc;
1515
zephyr,entropy = &rng;
1616
zephyr,flash-controller = &flash_controller;
1717
};
@@ -113,12 +113,13 @@
113113
status = "disabled";
114114
};
115115

116-
/* Note: In the nRF Connect SDK the SoftDevice Controller
117-
* is added and set as the default Bluetooth Controller.
118-
*/
116+
bt_hci_sdc: bt_hci_sdc {
117+
compatible = "nordic,bt-hci-sdc";
118+
status = "okay";
119+
};
119120
bt_hci_controller: bt_hci_controller {
120121
compatible = "zephyr,bt-hci-ll-sw-split";
121-
status = "okay";
122+
status = "disabled";
122123
};
123124
};
124125

dts/arm/nordic/nrf52820.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/ {
1212

1313
chosen {
14-
zephyr,bt-hci = &bt_hci_controller;
14+
zephyr,bt-hci = &bt_hci_sdc;
1515
zephyr,entropy = &rng;
1616
zephyr,flash-controller = &flash_controller;
1717
};
@@ -115,12 +115,13 @@
115115
status = "disabled";
116116
};
117117

118-
/* Note: In the nRF Connect SDK another Bluetooth controller
119-
* is added and set as the default.
120-
*/
118+
bt_hci_sdc: bt_hci_sdc {
119+
compatible = "nordic,bt-hci-sdc";
120+
status = "okay";
121+
};
121122
bt_hci_controller: bt_hci_controller {
122123
compatible = "zephyr,bt-hci-ll-sw-split";
123-
status = "okay";
124+
status = "disabled";
124125
};
125126
};
126127

dts/arm/nordic/nrf52832.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/ {
99
chosen {
10-
zephyr,bt-hci = &bt_hci_controller;
10+
zephyr,bt-hci = &bt_hci_sdc;
1111
zephyr,entropy = &rng;
1212
zephyr,flash-controller = &flash_controller;
1313
};
@@ -101,12 +101,13 @@
101101
status = "okay";
102102
ble-2mbps-supported;
103103

104-
/* Note: In the nRF Connect SDK the SoftDevice Controller
105-
* is added and set as the default Bluetooth Controller.
106-
*/
104+
bt_hci_sdc: bt_hci_sdc {
105+
compatible = "nordic,bt-hci-sdc";
106+
status = "okay";
107+
};
107108
bt_hci_controller: bt_hci_controller {
108109
compatible = "zephyr,bt-hci-ll-sw-split";
109-
status = "okay";
110+
status = "disabled";
110111
};
111112
};
112113

dts/arm/nordic/nrf52833.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/ {
1313
chosen {
14-
zephyr,bt-hci = &bt_hci_controller;
14+
zephyr,bt-hci = &bt_hci_sdc;
1515
zephyr,entropy = &rng;
1616
zephyr,flash-controller = &flash_controller;
1717
};
@@ -115,12 +115,13 @@
115115
status = "disabled";
116116
};
117117

118-
/* Note: In the nRF Connect SDK the SoftDevice Controller
119-
* is added and set as the default Bluetooth Controller.
120-
*/
118+
bt_hci_sdc: bt_hci_sdc {
119+
compatible = "nordic,bt-hci-sdc";
120+
status = "okay";
121+
};
121122
bt_hci_controller: bt_hci_controller {
122123
compatible = "zephyr,bt-hci-ll-sw-split";
123-
status = "okay";
124+
status = "disabled";
124125
};
125126
};
126127

dts/arm/nordic/nrf52840.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/ {
99
chosen {
10-
zephyr,bt-hci = &bt_hci_controller;
10+
zephyr,bt-hci = &bt_hci_sdc;
1111
zephyr,entropy = &cryptocell;
1212
zephyr,flash-controller = &flash_controller;
1313
};
@@ -103,12 +103,13 @@
103103
status = "disabled";
104104
};
105105

106-
/* Note: In the nRF Connect SDK the SoftDevice Controller
107-
* is added and set as the default Bluetooth Controller.
108-
*/
106+
bt_hci_sdc: bt_hci_sdc {
107+
compatible = "nordic,bt-hci-sdc";
108+
status = "okay";
109+
};
109110
bt_hci_controller: bt_hci_controller {
110111
compatible = "zephyr,bt-hci-ll-sw-split";
111-
status = "okay";
112+
status = "disabled";
112113
};
113114
};
114115

dts/arm/nordic/nrf5340_cpunet.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/ {
1111
chosen {
12-
zephyr,bt-hci = &bt_hci_controller;
12+
zephyr,bt-hci = &bt_hci_sdc;
1313
zephyr,entropy = &rng;
1414
zephyr,flash-controller = &flash_controller;
1515
};
@@ -102,12 +102,13 @@
102102
status = "disabled";
103103
};
104104

105-
/* Note: In the nRF Connect SDK the SoftDevice Controller
106-
* is added and set as the default Bluetooth Controller.
107-
*/
105+
bt_hci_sdc: bt_hci_sdc {
106+
compatible = "nordic,bt-hci-sdc";
107+
status = "okay";
108+
};
108109
bt_hci_controller: bt_hci_controller {
109110
compatible = "zephyr,bt-hci-ll-sw-split";
110-
status = "okay";
111+
status = "disabled";
111112
};
112113
};
113114

dts/arm/nordic/nrf54h20_cpurad.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ wdt011: &cpurad_wdt011 {};
2424

2525
/ {
2626
chosen {
27-
zephyr,bt-hci = &bt_hci_controller;
27+
zephyr,bt-hci = &bt_hci_sdc;
2828
};
2929

3030
soc {
@@ -104,6 +104,6 @@ wdt011: &cpurad_wdt011 {};
104104
status = "okay";
105105
};
106106

107-
&bt_hci_controller {
107+
&bt_hci_sdc {
108108
status = "okay";
109109
};

dts/arm/nordic/nrf54l_05_10_15_cpuapp.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ nvic: &cpuapp_nvic {};
1515

1616
/ {
1717
chosen {
18-
zephyr,bt-hci = &bt_hci_controller;
18+
zephyr,bt-hci = &bt_hci_sdc;
1919
zephyr,entropy = &psa_rng;
2020
};
2121

@@ -31,7 +31,7 @@ nvic: &cpuapp_nvic {};
3131
};
3232
};
3333

34-
&bt_hci_controller {
34+
&bt_hci_sdc {
3535
status = "okay";
3636
};
3737

0 commit comments

Comments
 (0)