Skip to content

Commit 89421bf

Browse files
ananglcarlescufi
authored andcommitted
boards: thingy53_nrf5340: Reference usbd node from the common dts file
The thingy53_nrf5340 board definition based on the nrf5340dk_nrf5340 and thus added separate references to the usbd node for the secure and non-secure targets, what unnecessary complicates things. This commit replaces the references with one done from the common cpuapp dts file. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 915419c commit 89421bf

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

boards/arm/thingy53_nrf5340/thingy53_nrf5340_common.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@
291291
};
292292
};
293293

294+
zephyr_udc0: &usbd {
295+
compatible = "nordic,nrf-usbd";
296+
status = "okay";
297+
};
298+
294299
/ {
295300

296301
reserved-memory {

boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,3 @@
2020
zephyr,sram-non-secure-partition = &sram0_ns;
2121
};
2222
};
23-
24-
zephyr_udc0: &usbd {
25-
compatible = "nordic,nrf-usbd";
26-
status = "okay";
27-
};

boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_ns.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,3 @@
1818
zephyr,code-partition = &slot0_ns_partition;
1919
};
2020
};
21-
22-
zephyr_udc0: &usbd {
23-
compatible = "nordic,nrf-usbd";
24-
status = "okay";
25-
};

0 commit comments

Comments
 (0)