imx: imx8mq-pico: enable CONFIG_DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Thu, 5 May 2022 07:43:40 +0000 (15:43 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 20 May 2022 07:30:29 +0000 (09:30 +0200)
Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi [new file with mode: 0644]
configs/pico-imx8mq_defconfig

diff --git a/arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi b/arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi
new file mode 100644 (file)
index 0000000..9537aed
--- /dev/null
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+
+&pinctrl_uart1 {
+       u-boot,dm-spl;
+};
+
+&uart1 {
+       u-boot,dm-spl;
+};
index 1b0d12c..91aca29 100644 (file)
@@ -83,5 +83,6 @@ CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_SPL_POWER_I2C=y
 CONFIG_DM_RESET=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_DM_THERMAL=y