arm: dts: cleanup uart related Kconfig options

Now that we generate BLUETOOTH_UART_ON_DEV_NAME, UART_PIPE_ON_DEV_NAME,
and BLUETOOTH_MONITOR_ON_DEV_NAME Kconfig defines for dts enabled
platforms add those into the appropriate dts files and remove from the
various board/Kconfig.defconfig files.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-07-20 15:03:58 -05:00 committed by Kumar Gala
commit 0e7067c6be
6 changed files with 9 additions and 15 deletions

View file

@ -34,13 +34,4 @@ config UART_STELLARIS_PORT_2
endif # UART_STELLARIS endif # UART_STELLARIS
config BLUETOOTH_UART_ON_DEV_NAME
default "UART_1" if BLUETOOTH_UART
config UART_PIPE_ON_DEV_NAME
default "UART_1" if UART_PIPE
config BLUETOOTH_MONITOR_ON_DEV_NAME
default "UART_2" if BLUETOOTH_DEBUG_MONITOR
endif endif

View file

@ -32,9 +32,6 @@ config UART_MCUX_3
endif # UART_MCUX endif # UART_MCUX
config BLUETOOTH_UART_ON_DEV_NAME
default "UART_3" if BLUETOOTH_UART
config PINMUX config PINMUX
def_bool y def_bool y

View file

@ -32,9 +32,6 @@ config UART_MCUX_4
endif # UART_MCUX endif # UART_MCUX
config BLUETOOTH_UART_ON_DEV_NAME
default "UART_4" if BLUETOOTH_UART
config PINMUX config PINMUX
def_bool y def_bool y

View file

@ -30,6 +30,9 @@
zephyr,sram = &sram0; zephyr,sram = &sram0;
zephyr,flash = &flash0; zephyr,flash = &flash0;
zephyr,console = &uart0; zephyr,console = &uart0;
#ifdef CONFIG_BLUETOOTH
zephyr,bt-uart = &uart3;
#endif
zephyr,uart-pipe = &uart0; zephyr,uart-pipe = &uart0;
}; };
}; };

View file

@ -30,6 +30,9 @@
zephyr,sram = &sram0; zephyr,sram = &sram0;
zephyr,flash = &flash0; zephyr,flash = &flash0;
zephyr,console = &uart0; zephyr,console = &uart0;
#ifdef CONFIG_BLUETOOTH
zephyr,bt-uart = &uart4;
#endif
}; };
}; };

View file

@ -16,6 +16,9 @@
zephyr,sram = &sram0; zephyr,sram = &sram0;
zephyr,flash = &flash0; zephyr,flash = &flash0;
zephyr,console = &uart0; zephyr,console = &uart0;
zephyr,bt-uart = &uart1;
zephyr,uart-pipe = &uart1;
zephyr,bt-mon-uart = &uart2;
}; };
}; };