Start with the hardware
Before writing an application, map the peripherals you intend to use. Devicetree captures hardware relationships and boot-time settings; an overlay can express changes specific to an application.
Read the Zephyr documentation ↗