I have a custom board based on nRF52840 with some custom peripherals : LEDs, buzzer, buttons, etc
To get my app working I copied the nrf52840dk_nrf52840 board from the 1.9.1 SDK and modified the dts file to add my peripherals according to the shematics, and it all worked great