67289d07fe
Add initial Atmel at86rf2xx transceiver driver. This driver uses device tree to configure the physical interface. The driver had capability to use multiple transceiver and systems with multiple bands can be used. With this, 2.4GHz ISM and Sub-Giga can be used simultaneous. Below a valid DT example. This samples assume same SPI port with two transceivers. &spi0 { status = "okay"; label = "SPI_RF2XX"; cs-gpios = <&porta 31 0 &porta 30 0>; rf2xx@0 { compatible = "atmel,rf2xx"; reg = <0x0>; label = "RF2XX_0"; spi-max-frequency = <7800000>; irq-gpios = <&portb 2 0>; reset-gpios = <&porta 3 0>; slptr-gpios = <&portb 3 0>; status = "okay"; }; rf2xx@1 { compatible = "atmel,rf2xx"; reg = <0x1>; label = "RF2XX_1"; spi-max-frequency = <7800000>; irq-gpios = <&portb 4 0>; reset-gpios = <&porta 4 0>; slptr-gpios = <&portb 4 0>; status = "okay"; }; }; At the moment driver assume two transceiver are enouth for majority of appications. Sub-Giga band will be enabled in future. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
101 lines
2.2 KiB
Plaintext
101 lines
2.2 KiB
Plaintext
# IEEE 802.15.4 driver configuration options
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# IEEE 802.15.4 options
|
|
#
|
|
menuconfig IEEE802154
|
|
bool "IEEE 802.15.4 drivers options"
|
|
default y if NET_L2_IEEE802154 || NET_L2_OPENTHREAD
|
|
|
|
if IEEE802154
|
|
|
|
config IEEE802154_RAW_MODE
|
|
bool "Use IEEE 802.15.4 driver without the MAC stack"
|
|
select NET_RAW_MODE
|
|
help
|
|
This option enables using the drivers in a so-called "raw" mode,
|
|
i.e. without a MAC stack (the net L2 layer for 802.15.4 will not
|
|
be built). Used only for very specific cases, such as wpan_serial
|
|
and wpanusb samples.
|
|
|
|
source "drivers/ieee802154/Kconfig.cc2520"
|
|
|
|
source "drivers/ieee802154/Kconfig.kw41z"
|
|
|
|
source "drivers/ieee802154/Kconfig.mcr20a"
|
|
|
|
source "drivers/ieee802154/Kconfig.nrf5"
|
|
|
|
source "drivers/ieee802154/Kconfig.cc1200"
|
|
|
|
source "drivers/ieee802154/Kconfig.cc13xx_cc26xx"
|
|
|
|
source "drivers/ieee802154/Kconfig.rf2xx"
|
|
|
|
menuconfig IEEE802154_UPIPE
|
|
bool "UART PIPE fake radio driver support for QEMU"
|
|
depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING
|
|
select UART_PIPE
|
|
|
|
if IEEE802154_UPIPE
|
|
|
|
config IEEE802154_UPIPE_DRV_NAME
|
|
string "UART PIPE Driver name"
|
|
default "IEEE802154_UPIPE"
|
|
|
|
config IEEE802154_UPIPE_HW_FILTER
|
|
bool "Hw Filtering"
|
|
default y
|
|
help
|
|
This option assure the driver will process just frames addressed to him.
|
|
|
|
config IEEE802154_UPIPE_RANDOM_MAC
|
|
bool "Random MAC address"
|
|
default y
|
|
help
|
|
Generate a random MAC address dynamically.
|
|
|
|
if ! IEEE802154_UPIPE_RANDOM_MAC
|
|
|
|
config IEEE802154_UPIPE_MAC4
|
|
hex "MAC Address Byte 4"
|
|
default 0
|
|
range 0 0xff
|
|
help
|
|
This is the byte 4 of the MAC address.
|
|
|
|
config IEEE802154_UPIPE_MAC5
|
|
hex "MAC Address Byte 5"
|
|
default 0
|
|
range 0 0xff
|
|
help
|
|
This is the byte 5 of the MAC address.
|
|
|
|
config IEEE802154_UPIPE_MAC6
|
|
hex "MAC Address Byte 6"
|
|
default 0
|
|
range 0 0xff
|
|
help
|
|
This is the byte 6 of the MAC address.
|
|
|
|
config IEEE802154_UPIPE_MAC7
|
|
hex "MAC Address Byte 7"
|
|
default 0
|
|
range 0 0xff
|
|
help
|
|
This is the byte 7 of the MAC address.
|
|
|
|
endif # IEEE802154_UPIPE_RANDOM_MAC
|
|
|
|
endif # IEEE802154_UPIPE
|
|
|
|
module = IEEE802154_DRIVER
|
|
module-str = IEEE 802.15.4 driver
|
|
module-help = Sets log level for IEEE 802.15.4 Device Drivers.
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif # IEEE802154
|