Skip to content

Commit f0450fc

Browse files
committed
nrf52: dts: Force user to explicitly set UART0 compatible
Since the UART0 @ 0x40002000 can either be UART or UARTE the user of the soc.dtsi needs to select either compatible = "nordic,nrf-uarte" or "nordic,nrf-uart" Signed-off-by: Kumar Gala <[email protected]>
1 parent b3d34d2 commit f0450fc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dts/arm/nordic/nrf52832.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939

4040
soc {
4141
uart0: uart@40002000 {
42-
compatible = "nordic,nrf-uarte", "nordic,nrf-uart";
42+
/* uart can be either UART or UARTE, for the user to pick */
43+
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */
4344
reg = <0x40002000 0x1000>;
4445
interrupts = <2 1>;
4546
status = "disabled";

dts/arm/nordic/nrf52840.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040

4141
soc {
4242
uart0: uart@40002000 {
43-
compatible = "nordic,nrf-uarte", "nordic,nrf-uart";
43+
/* uart can be either UART or UARTE, for the user to pick */
44+
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */
4445
reg = <0x40002000 0x1000>;
4546
interrupts = <2 1>;
4647
status = "disabled";

0 commit comments

Comments
 (0)