Skip to content

Commit 6eb7543

Browse files
e-rkjukkar
authored andcommitted
[nrf noup] dts: Select SoftDevice Controller on nRF54L09
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]> (cherry picked from commit da86248) (cherry picked from commit e40f531)
1 parent cda01f8 commit 6eb7543

File tree

3 files changed

+758
-2
lines changed

3 files changed

+758
-2
lines changed
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* This file is common to the secure and non-secure domain */
8+
9+
#include <nordic/nrf54l09_enga_cpuapp.dtsi>
10+
#include "nrf54l09pdk_nrf54l09-common.dtsi"
11+
12+
/ {
13+
chosen {
14+
zephyr,console = &uart20;
15+
zephyr,shell-uart = &uart20;
16+
zephyr,uart-mcumgr = &uart20;
17+
zephyr,bt-mon-uart = &uart20;
18+
zephyr,bt-c2h-uart = &uart20;
19+
zephyr,flash-controller = &rram_controller;
20+
zephyr,flash = &cpuapp_rram;
21+
zephyr,bt-hci = &bt_hci_sdc;
22+
zephyr,ieee802154 = &ieee802154;
23+
};
24+
};
25+
26+
&cpuapp_sram {
27+
status = "okay";
28+
};
29+
30+
&hfpll {
31+
/* For now use 64 MHz clock for CPU and fast peripherals. */
32+
clock-frequency = <DT_FREQ_M(64)>;
33+
};
34+
35+
&lfxo {
36+
load-capacitors = "internal";
37+
load-capacitance-femtofarad = <15500>;
38+
};
39+
40+
&hfxo {
41+
load-capacitors = "internal";
42+
load-capacitance-femtofarad = <15000>;
43+
};
44+
45+
&grtc {
46+
owned-channels = <0 1 2 3 4 5 6 7 8 9 10 11>;
47+
/* Channels 7-11 reserved for Zero Latency IRQs, 3-4 for FLPR */
48+
child-owned-channels = <3 4 7 8 9 10 11>;
49+
status = "okay";
50+
};
51+
52+
&cpuapp_rram {
53+
partitions {
54+
compatible = "fixed-partitions";
55+
#address-cells = <1>;
56+
#size-cells = <1>;
57+
58+
boot_partition: partition@0 {
59+
label = "mcuboot";
60+
reg = <0x0 DT_SIZE_K(64)>;
61+
};
62+
63+
slot0_partition: partition@10000 {
64+
label = "image-0";
65+
reg = <0x10000 DT_SIZE_K(212)>;
66+
};
67+
68+
slot0_ns_partition: partition@45000 {
69+
label = "image-0-nonsecure";
70+
reg = <0x45000 DT_SIZE_K(212)>;
71+
};
72+
73+
slot1_partition: partition@7a000 {
74+
label = "image-1";
75+
reg = <0x7a000 DT_SIZE_K(212)>;
76+
};
77+
78+
slot1_ns_partition: partition@af000 {
79+
label = "image-1-nonsecure";
80+
reg = <0xaf000 DT_SIZE_K(212)>;
81+
};
82+
83+
storage_partition: partition@e4000 {
84+
label = "storage";
85+
reg = <0xe4000 DT_SIZE_K(36)>;
86+
};
87+
};
88+
};
89+
90+
&uart20 {
91+
status = "okay";
92+
};
93+
94+
&gpio0 {
95+
status = "okay";
96+
};
97+
98+
&gpio1 {
99+
status = "okay";
100+
};
101+
102+
&gpiote20 {
103+
status = "okay";
104+
};
105+
106+
&gpiote30 {
107+
status = "okay";
108+
};
109+
110+
&radio {
111+
status = "okay";
112+
};
113+
114+
&temp {
115+
status = "okay";
116+
};
117+
118+
&clock {
119+
status = "okay";
120+
};
121+
122+
&bt_hci_sdc {
123+
status = "okay";
124+
};
125+
126+
&ieee802154 {
127+
status = "okay";
128+
};

dts/arm/nordic/nrf54l09_enga_cpuapp.dtsi

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

1818
/ {
1919
chosen {
20-
zephyr,bt-hci = &bt_hci_controller;
20+
zephyr,bt-hci = &bt_hci_sdc;
2121
zephyr,entropy = &prng;
2222
};
2323

@@ -38,7 +38,7 @@ nvic: &cpuapp_nvic {};
3838
};
3939
};
4040

41-
&bt_hci_controller {
41+
&bt_hci_sdc {
4242
status = "okay";
4343
};
4444

0 commit comments

Comments
 (0)