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:
Chaitanya Tata 2024-06-13 00:31:24 +05:30 committed by Carles Cufí
parent 9036400ad0
commit 1d18144e64
12 changed files with 231 additions and 0 deletions

View 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

View 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`.

View 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"]

View 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

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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

View 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