This page (v2.8.0) https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/app_dev/device_guides/fem/fem_nrf21540_gpio_spi.html
Suggests copying the following into devicetree.

Is there an example project with nrf FEM support which is tested?

This page (v2.8.0) https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/app_dev/device_guides/fem/fem_nrf21540_gpio_spi.html
Suggests copying the following into devicetree.


I upgraded to v2.9.0
added to prj.conf:
CONFIG_MPSL_FEM_NRF21540_GPIO_SPI=y
Added this to dts (This section throws an error - missing comma)
Added the remainder:
-- Found BOARD.dts: C:/ncs/v2.9.0/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52811.dts
devicetree error: C:/ncs/v2.9.0/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52811.dts:196 (column 59): parse error: expected number or parenthesized expression
I also note here that if a Pristine Build fails - then there is no path to edit the dts files.

I seems that the code offered on the support page has not been tested in v 2.9.0 as it throws a parsing error.
I upgraded to v2.9.0
added to prj.conf:
CONFIG_MPSL_FEM_NRF21540_GPIO_SPI=y
Added this to dts (This section throws an error - missing comma)
Added the remainder:
-- Found BOARD.dts: C:/ncs/v2.9.0/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52811.dts
devicetree error: C:/ncs/v2.9.0/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52811.dts:196 (column 59): parse error: expected number or parenthesized expression
I also note here that if a Pristine Build fails - then there is no path to edit the dts files.

I seems that the code offered on the support page has not been tested in v 2.9.0 as it throws a parsing error.