device.h: Do not generate "okay" devicetree nodes if DT is unsupported
device.h: Do not generate "okay" devicetree nodes if DT is unsupported

The macro DT_FOREACH_STATUS_OKAY_NODE is only available if devicetree
is supported. Using it for platforms that do not support devicetree
causes compilation errors.

Signed-off-by: Wolfgang Puffitsch <f148e6efbb74c70a1ee845a87fa7616913a99a4b@demant.com>

finikorg/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,finikorg/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,galak/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,galak/zephyr