Skip to content

Commit e21df1f

Browse files
ArunmaniAlagarsamy2710carlescufi
authored andcommitted
dts: silabs: Add NWP boot configuration properties
Add new Devicetree properties under the SiWx91x NWP node to describe hardware-specific boot configuration options. The properties are documented in the SiWx91x NWP YAML binding. Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
1 parent 6f0a400 commit e21df1f

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

dts/arm/silabs/siwg917.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@
8181
interrupt-parent = <&nvic>;
8282
interrupts = <30 0>, <74 0>;
8383
interrupt-names = "nwp_stack", "nwp_irq";
84+
antenna-selection = "ext-gpios";
85+
support-1p8v;
86+
enable-xtal-correction;
87+
qspi-80mhz-clk;
8488
status = "okay";
8589

8690
bt_hci0: bt_hci {

dts/bindings/net/wireless/silabs,siwx91x-nwp.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,49 @@ properties:
3131
- deep-sleep-without-ram-retention
3232
- deep-sleep-with-ram-retention
3333
required: true
34+
35+
support-1p8v:
36+
type: boolean
37+
description: |
38+
Enables 1.8 V operation support.
39+
40+
enable-xtal-correction:
41+
type: boolean
42+
description: |
43+
Enables automatic 40 MHz XTAL frequency correction.
44+
Disable this when using a custom or uncalibrated XTAL and manual tuning is required.
45+
46+
qspi-80mhz-clk:
47+
type: boolean
48+
description: |
49+
Enables 80 MHz QSPI clock mode for the NWP flash interface to improve
50+
throughput. Enable this if the external flash device supports 80 MHz
51+
operation; otherwise, keep it disabled.
52+
# Note:
53+
# Zephyr typically manages clocks via a clock-controller driver.
54+
# However, the NWP is not yet fully compatible with that model.
55+
# This property is kept as a temporary solution for NWP-specific configuration.
56+
57+
antenna-selection:
58+
type: string
59+
description: |
60+
Selects the front-end (antenna) switch configuration for the NWP.
61+
62+
This property determines how the RF path is controlled:
63+
- "none": Reserved or unused configuration.
64+
- "ext-gpios": Use external ULP GPIOs (4, 5, and 0) as ANT_SEL control lines
65+
for the external RF switch network.
66+
- "internal": Use the internal on-chip RF switch logic. No external GPIO
67+
control is required. Recommended for boards without an external RF
68+
switch circuit.
69+
70+
The value maps directly to bits [30:29] of the SL_SI91X_EXT_FEAT register:
71+
- 00b: Reserved
72+
- 01b: External GPIOs (ULP_GPIO4/5/0)
73+
- 10b: Internal front-end switch
74+
- 11b: Reserved
75+
enum:
76+
- "none"
77+
- "ext-gpios"
78+
- "internal"
79+
required: true

0 commit comments

Comments
 (0)