1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <freq.h>
8
9/ {
10	chosen {
11		zephyr,wifi = &wlan0;
12	};
13};
14
15&edge_connector_spi {
16	status = "okay";
17
18	nrf70: nrf7002@0 {
19		compatible = "nordic,nrf7002-spi";
20		status = "okay";
21		reg = <0>;
22		spi-max-frequency = <DT_FREQ_M(8)>;
23
24		bucken-gpios = <&edge_connector 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
25		iovdd-ctrl-gpios = <&edge_connector 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
26		host-irq-gpios = <&edge_connector 19 GPIO_ACTIVE_HIGH>;
27		srrf-switch-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
28
29		wlan0: wlan0 {
30			compatible = "nordic,wlan";
31		};
32
33		wifi-max-tx-pwr-2g-dsss = <21>;
34		wifi-max-tx-pwr-2g-mcs0 = <16>;
35		wifi-max-tx-pwr-2g-mcs7 = <16>;
36		wifi-max-tx-pwr-5g-low-mcs0 = <13>;
37		wifi-max-tx-pwr-5g-low-mcs7 = <13>;
38		wifi-max-tx-pwr-5g-mid-mcs0 = <13>;
39		wifi-max-tx-pwr-5g-mid-mcs7 = <13>;
40		wifi-max-tx-pwr-5g-high-mcs0 = <12>;
41		wifi-max-tx-pwr-5g-high-mcs7 = <12>;
42	};
43};
44