USB devicetree nodes in Zephyr have different names,
mostly derived from the designations in data sheets.
Add zephyr_udc0 (USB device controller) nodelabel to
specific USB node to allow generic USB sample to be build.
Follow up on commit b4242a8
("boards: add USB node aliases")
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
25 lines
488 B
Text
25 lines
488 B
Text
/*
|
|
* Copyright (c) 2020 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <nordic/nrf5340_cpuappns_qkaa.dtsi>
|
|
#include "nrf5340_cpuapp_common.dts"
|
|
|
|
/ {
|
|
model = "Nordic NRF5340 DK NRF5340 Application";
|
|
compatible = "nordic,nrf5340-dk-nrf5340-cpuapp";
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0_ns;
|
|
zephyr,flash = &flash0;
|
|
zephyr,code-partition = &slot0_ns_partition;
|
|
};
|
|
};
|
|
|
|
zephyr_udc0: &usbd {
|
|
compatible = "nordic,nrf-usbd";
|
|
status = "okay";
|
|
};
|