Skip to content
Permalink
Browse files

native_posix: Remove reg property from uart node in dts

The uart node in the native_posix dts has a reg property, but there are
no registers associated with the uart.  So remove the property and
remove the unit address associated with the reg (now that its removed).

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Jul 22, 2019
1 parent 4773996 commit 3df9636d05499436c716b5b15642a4eea9eb2ca6
Showing with 2 additions and 3 deletions.
  1. +1 −1 boards/posix/native_posix/dts_fixup.h
  2. +1 −2 boards/posix/native_posix/native_posix.dts
@@ -5,5 +5,5 @@
*/

#define DT_FLASH_DEV_NAME DT_INST_0_ZEPHYR_NATIVE_POSIX_FLASH_CONTROLLER_LABEL
#define DT_UART_0_DEV_NAME DT_ZEPHYR_NATIVE_POSIX_UART_1_LABEL
#define DT_UART_0_DEV_NAME DT_ZEPHYR_NATIVE_POSIX_UART_UART_LABEL

@@ -65,10 +65,9 @@
};
};

uart0: uart@1 {
uart0: uart {
status = "okay";
compatible = "zephyr,native-posix-uart";
reg = <1 0>;
label = "UART_0";
/* Dummy current_speed entry to comply with serial
* DTS binding

0 comments on commit 3df9636

Please sign in to comment.
You can’t perform that action at this time.