Skip to content

Commit 59cd5ea

Browse files
krish2718rlubos
authored andcommitted
boards: nrf7120pdk: Add Wi-Fi support
Add DTS entries necessary for Wi-Fi driver to work. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent c4541f0 commit 59cd5ea

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

boards/nordic/nrf7120pdk/nrf7120_cpuapp_common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
zephyr,uart-mcumgr = &uart20;
1717
zephyr,flash = &cpuapp_mram;
1818
zephyr,ieee802154 = &ieee802154;
19+
zephyr,wifi = &wlan0;
1920
};
2021
};
2122

@@ -128,3 +129,7 @@
128129
&adc {
129130
status = "okay";
130131
};
132+
133+
&wifi {
134+
status = "okay";
135+
};

dts/common/nordic/nrf7120_enga.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,4 +844,23 @@
844844
#mbox-cells = <1>;
845845
};
846846
};
847+
848+
wifi: wifi {
849+
compatible = "nordic,wifi71";
850+
status = "disabled";
851+
852+
wifi-max-tx-pwr-2g-dsss = <21>;
853+
wifi-max-tx-pwr-2g-mcs0 = <16>;
854+
wifi-max-tx-pwr-2g-mcs7 = <16>;
855+
wifi-max-tx-pwr-5g-low-mcs0 = <13>;
856+
wifi-max-tx-pwr-5g-low-mcs7 = <13>;
857+
wifi-max-tx-pwr-5g-mid-mcs0 = <13>;
858+
wifi-max-tx-pwr-5g-mid-mcs7 = <13>;
859+
wifi-max-tx-pwr-5g-high-mcs0 = <12>;
860+
wifi-max-tx-pwr-5g-high-mcs7 = <12>;
861+
862+
wlan0: wlan0 {
863+
compatible = "nordic,wlan";
864+
};
865+
};
847866
};

0 commit comments

Comments
 (0)