Skip to content

Commit 6d216e1

Browse files
rugeGerritsenrlubos
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]> Signed-off-by: Kristoffer Rist Skøien <[email protected]> Signed-off-by: Rafał Kuźnia <[email protected]> (cherry picked from commit 946fcec)
1 parent 53fae56 commit 6d216e1

File tree

70 files changed

+389
-127
lines changed

Some content is hidden

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

70 files changed

+389
-127
lines changed

boards/nordic/nrf54l20pdk/nrf54l20_cpuapp_common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
zephyr,bt-c2h-uart = &uart20;
1919
zephyr,flash-controller = &rram_controller;
2020
zephyr,flash = &cpuapp_rram;
21-
zephyr,bt-hci = &bt_hci_controller;
21+
zephyr,bt-hci = &bt_hci_sdc;
2222
zephyr,ieee802154 = &ieee802154;
2323
};
2424
};
@@ -122,7 +122,7 @@
122122
status = "okay";
123123
};
124124

125-
&bt_hci_controller {
125+
&bt_hci_sdc {
126126
status = "okay";
127127
};
128128

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
};
@@ -106,12 +106,13 @@
106106
status = "okay";
107107
ble-2mbps-supported;
108108

109-
/* Note: In the nRF Connect SDK the SoftDevice Controller
110-
* is added and set as the default Bluetooth Controller.
111-
*/
109+
bt_hci_sdc: bt_hci_sdc {
110+
compatible = "nordic,bt-hci-sdc";
111+
status = "okay";
112+
};
112113
bt_hci_controller: bt_hci_controller {
113114
compatible = "zephyr,bt-hci-ll-sw-split";
114-
status = "okay";
115+
status = "disabled";
115116
};
116117
};
117118

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
};
@@ -110,12 +110,13 @@
110110
status = "okay";
111111
ble-2mbps-supported;
112112

113-
/* Note: In the nRF Connect SDK the SoftDevice Controller
114-
* is added and set as the default Bluetooth Controller.
115-
*/
113+
bt_hci_sdc: bt_hci_sdc {
114+
compatible = "nordic,bt-hci-sdc";
115+
status = "okay";
116+
};
116117
bt_hci_controller: bt_hci_controller {
117118
compatible = "zephyr,bt-hci-ll-sw-split";
118-
status = "okay";
119+
status = "disabled";
119120
};
120121
};
121122

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
};
@@ -122,12 +122,13 @@
122122
status = "disabled";
123123
};
124124

125-
/* Note: In the nRF Connect SDK the SoftDevice Controller
126-
* is added and set as the default Bluetooth Controller.
127-
*/
125+
bt_hci_sdc: bt_hci_sdc {
126+
compatible = "nordic,bt-hci-sdc";
127+
status = "okay";
128+
};
128129
bt_hci_controller: bt_hci_controller {
129130
compatible = "zephyr,bt-hci-ll-sw-split";
130-
status = "okay";
131+
status = "disabled";
131132
};
132133
};
133134

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
};
@@ -124,12 +124,13 @@
124124
status = "disabled";
125125
};
126126

127-
/* Note: In the nRF Connect SDK another Bluetooth controller
128-
* is added and set as the default.
129-
*/
127+
bt_hci_sdc: bt_hci_sdc {
128+
compatible = "nordic,bt-hci-sdc";
129+
status = "okay";
130+
};
130131
bt_hci_controller: bt_hci_controller {
131132
compatible = "zephyr,bt-hci-ll-sw-split";
132-
status = "okay";
133+
status = "disabled";
133134
};
134135
};
135136

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
};
@@ -110,12 +110,13 @@
110110
status = "okay";
111111
ble-2mbps-supported;
112112

113-
/* Note: In the nRF Connect SDK the SoftDevice Controller
114-
* is added and set as the default Bluetooth Controller.
115-
*/
113+
bt_hci_sdc: bt_hci_sdc {
114+
compatible = "nordic,bt-hci-sdc";
115+
status = "okay";
116+
};
116117
bt_hci_controller: bt_hci_controller {
117118
compatible = "zephyr,bt-hci-ll-sw-split";
118-
status = "okay";
119+
status = "disabled";
119120
};
120121
};
121122

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
};
@@ -124,12 +124,13 @@
124124
status = "disabled";
125125
};
126126

127-
/* Note: In the nRF Connect SDK the SoftDevice Controller
128-
* is added and set as the default Bluetooth Controller.
129-
*/
127+
bt_hci_sdc: bt_hci_sdc {
128+
compatible = "nordic,bt-hci-sdc";
129+
status = "okay";
130+
};
130131
bt_hci_controller: bt_hci_controller {
131132
compatible = "zephyr,bt-hci-ll-sw-split";
132-
status = "okay";
133+
status = "disabled";
133134
};
134135
};
135136

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
};
@@ -112,12 +112,13 @@
112112
status = "disabled";
113113
};
114114

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

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
};

0 commit comments

Comments
 (0)