drivers: ieee802154: cc13x2_cc26x2: make driver DT-based

Use Devicetree to describe the radio and IEEE 802.15.4. This allows to
remove usage of IEEE802154_CC13XX_CC26XX_DRV_NAME in preparation for the
removal of NET_CONFIG_IEEE802154_DEV_NAME. All boards used in testing
have been updated to enable the peripheral in DT as well.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-07-15 16:02:32 +02:00 committed by Carles Cufí
commit fa16891625
6 changed files with 51 additions and 24 deletions

View file

@ -44,7 +44,7 @@ config IEEE802154_CC13XX_CC26XX_SUB_GHZ
select PM
config NET_CONFIG_IEEE802154_DEV_NAME
default IEEE802154_CC13XX_CC26XX_DRV_NAME
default "IEEE802154_0"
endif # IEEE802154