dts: bindings: wifi: Add nRF70 Wi-Fi support
Add necessary bindings for the nRF70 Wi-Fi chips from Nordic semiconductors ASA. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
parent
9036400ad0
commit
1d18144e64
12 changed files with 231 additions and 0 deletions
35
dts/bindings/wifi/nordic,nrf70-coex.yaml
Normal file
35
dts/bindings/wifi/nordic,nrf70-coex.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
This is a representation of an external radio coexistence setup for coexistence
|
||||
with nRF70 WiFi chips.
|
||||
|
||||
properties:
|
||||
req-gpios:
|
||||
type: phandle-array
|
||||
description: |
|
||||
GPIO of the SOC connected to the PTA's REQUEST pin.
|
||||
|
||||
status0-gpios:
|
||||
type: phandle-array
|
||||
description: |
|
||||
GPIO of the SOC connected to the PTA's PRIORITY pin.
|
||||
This GPIO is also used to indicate direction (TX/RX).
|
||||
|
||||
grant-gpios:
|
||||
type: phandle-array
|
||||
description: |
|
||||
GPIO of the SOC connected to the PTA's GRANT pin.
|
||||
|
||||
swctrl1-gpios:
|
||||
type: phandle-array
|
||||
description: |
|
||||
GPIO of the SOC controlling the Priority (STATUS1) pin (in 4-wire
|
||||
coex case) of the nRF7002
|
||||
|
||||
srrf-switch-gpios:
|
||||
type: phandle-array
|
||||
description: |
|
||||
GPIO of the RF Switch to control SR RF output to either SR Antenna
|
||||
or shared Antenna with Wi-Fi
|
||||
43
dts/bindings/wifi/nordic,nrf70-qspi.yaml
Normal file
43
dts/bindings/wifi/nordic,nrf70-qspi.yaml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF70 Wi-Fi chip.
|
||||
|
||||
include: ["nordic,nrf70.yaml", "base.yaml"]
|
||||
|
||||
on-bus: qspi
|
||||
|
||||
properties:
|
||||
qspi-frequency:
|
||||
type: int
|
||||
required: true
|
||||
description: |
|
||||
Maximum clock speed (in Hz) supported by the device.
|
||||
|
||||
reg:
|
||||
required: true
|
||||
|
||||
qspi-quad-mode:
|
||||
type: boolean
|
||||
description: |
|
||||
If specified, Use QSPI in quad mode (4 IO lines) otherwise in
|
||||
SPI mode (2 IO lines - MOSI & MISO).
|
||||
|
||||
qspi-rx-delay:
|
||||
type: int
|
||||
default: 0
|
||||
description: |
|
||||
Number of clock cycles from the rising edge of the SPI clock
|
||||
until the input serial data is sampled.
|
||||
|
||||
qspi-cpha:
|
||||
type: boolean
|
||||
description: |
|
||||
Set to indicate phase starts with asserted half-phase (CPHA=1).
|
||||
The driver using this property must also use `cpol`.
|
||||
|
||||
qspi-cpol:
|
||||
type: boolean
|
||||
description: |
|
||||
Set to indicate that the clock leading edge is falling (CPOL=1).
|
||||
The driver using this property requires also use `cpha`.
|
||||
6
dts/bindings/wifi/nordic,nrf70-spi.yaml
Normal file
6
dts/bindings/wifi/nordic,nrf70-spi.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF70 Wi-Fi chip.
|
||||
|
||||
include: ["nordic,nrf70.yaml", "spi-device.yaml"]
|
||||
21
dts/bindings/wifi/nordic,nrf70.yaml
Normal file
21
dts/bindings/wifi/nordic,nrf70.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# GPIO lines for controlling the nRF70 Series Wi-Fi chip.
|
||||
include: nordic,nrf70-coex.yaml
|
||||
|
||||
properties:
|
||||
iovdd-ctrl-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: GPIO of the SoC controlling IO_VDD Control pin of the nRF70
|
||||
|
||||
bucken-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: GPIO of the SoC controlling BUCK_EN pin of the nRF70
|
||||
|
||||
host-irq-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: GPIO of the SoC controlling the HOST_IRQ pin of the nRF70
|
||||
11
dts/bindings/wifi/nordic,nrf7000-qspi.yaml
Normal file
11
dts/bindings/wifi/nordic,nrf7000-qspi.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF7002 Wi-Fi chip with QSPI interface.
|
||||
|
||||
compatible: nordic,nrf7000-qspi
|
||||
|
||||
include:
|
||||
- "nordic,nrf70-qspi.yaml"
|
||||
- "wifi-tx-power-2g.yaml"
|
||||
- "wifi-tx-power-5g.yaml"
|
||||
11
dts/bindings/wifi/nordic,nrf7000-spi.yaml
Normal file
11
dts/bindings/wifi/nordic,nrf7000-spi.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF7002 Wi-Fi chip with SPI interface.
|
||||
|
||||
compatible: nordic,nrf7000-spi
|
||||
|
||||
include:
|
||||
- "nordic,nrf70-spi.yaml"
|
||||
- "wifi-tx-power-2g.yaml"
|
||||
- "wifi-tx-power-5g.yaml"
|
||||
10
dts/bindings/wifi/nordic,nrf7001-qspi.yaml
Normal file
10
dts/bindings/wifi/nordic,nrf7001-qspi.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF7002 Wi-Fi chip with QSPI interface.
|
||||
|
||||
compatible: nordic,nrf7001-qspi
|
||||
|
||||
include:
|
||||
- "nordic,nrf70-qspi.yaml"
|
||||
- "wifi-tx-power-2g.yaml"
|
||||
10
dts/bindings/wifi/nordic,nrf7001-spi.yaml
Normal file
10
dts/bindings/wifi/nordic,nrf7001-spi.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF7002 Wi-Fi chip with SPI interface.
|
||||
|
||||
compatible: nordic,nrf7001-spi
|
||||
|
||||
include:
|
||||
- "nordic,nrf70-spi.yaml"
|
||||
- "wifi-tx-power-2g.yaml"
|
||||
11
dts/bindings/wifi/nordic,nrf7002-qspi.yaml
Normal file
11
dts/bindings/wifi/nordic,nrf7002-qspi.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF7002 Wi-Fi chip with QSPI interface.
|
||||
|
||||
compatible: nordic,nrf7002-qspi
|
||||
|
||||
include:
|
||||
- "nordic,nrf70-qspi.yaml"
|
||||
- "wifi-tx-power-2g.yaml"
|
||||
- "wifi-tx-power-5g.yaml"
|
||||
11
dts/bindings/wifi/nordic,nrf7002-spi.yaml
Normal file
11
dts/bindings/wifi/nordic,nrf7002-spi.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This is a representation of the nRF7002 Wi-Fi chip with SPI interface.
|
||||
|
||||
compatible: nordic,nrf7002-spi
|
||||
|
||||
include:
|
||||
- "nordic,nrf70-spi.yaml"
|
||||
- "wifi-tx-power-2g.yaml"
|
||||
- "wifi-tx-power-5g.yaml"
|
||||
23
dts/bindings/wifi/wifi-tx-power-2g.yaml
Normal file
23
dts/bindings/wifi/wifi-tx-power-2g.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
This is a representation of the Wi-Fi transmit power ceilings
|
||||
i.e., maximum transmit power allowed for 2.4GHz band. Based on the
|
||||
RF performance of the device, the transmit power can be limited
|
||||
for different data rates and sub-bands to get the best performance.
|
||||
Resolution is 1 dBm
|
||||
|
||||
properties:
|
||||
wifi-max-tx-pwr-2g-dsss:
|
||||
type: int
|
||||
required: true
|
||||
description: Maximum transmit power allowed in 2.4GHz band for DSSS/CCK rates
|
||||
wifi-max-tx-pwr-2g-mcs0:
|
||||
type: int
|
||||
required: true
|
||||
description: Maximum transmit power allowed in 2.4GHz band for MCS0
|
||||
wifi-max-tx-pwr-2g-mcs7:
|
||||
type: int
|
||||
required: true
|
||||
description: Maximum transmit power allowed in 2.4GHz band for MCS7
|
||||
39
dts/bindings/wifi/wifi-tx-power-5g.yaml
Normal file
39
dts/bindings/wifi/wifi-tx-power-5g.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
This is a representation of the Wi-Fi transmit power ceilings
|
||||
i.e., maximum transmit power allowed for 5GHz band. Based on the
|
||||
RF performance of the device, the transmit power can be limited
|
||||
for different data rates and sub-bands to get the best performance.
|
||||
|
||||
low sub-band: Channels 36-64
|
||||
mid sub-band: Channels 96-132
|
||||
high sub-band: Channels 136-177
|
||||
|
||||
Resolution is 1 dBm
|
||||
|
||||
properties:
|
||||
wifi-max-tx-pwr-5g-low-mcs0:
|
||||
required: true
|
||||
type: int
|
||||
description: Maximum transmit power allowed in 5GHz band MCS0 low sub-band
|
||||
wifi-max-tx-pwr-5g-low-mcs7:
|
||||
required: true
|
||||
type: int
|
||||
description: Maximum transmit power allowed in 5GHz band MCS7 low sub-band
|
||||
wifi-max-tx-pwr-5g-mid-mcs0:
|
||||
required: true
|
||||
type: int
|
||||
description: Maximum transmit power allowed in 5GHz band MCS0 mid sub-band
|
||||
wifi-max-tx-pwr-5g-mid-mcs7:
|
||||
required: true
|
||||
type: int
|
||||
description: Maximum transmit power allowed in 5GHz band MCS7 mid sub-band
|
||||
wifi-max-tx-pwr-5g-high-mcs0:
|
||||
required: true
|
||||
type: int
|
||||
description: Maximum transmit power allowed in 5GHz band MCS0 high sub-band
|
||||
wifi-max-tx-pwr-5g-high-mcs7:
|
||||
type: int
|
||||
description: Maximum transmit power allowed in 5GHz band MCS7 high sub-band
|
||||
Loading…
Reference in a new issue