imx: imx8mq-phanbell: enable CONFIG_DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Thu, 5 May 2022 07:43:41 +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-phanbell-u-boot.dtsi
configs/imx8mq_phanbell_defconfig

index a65a942..8d6f305 100644 (file)
@@ -5,3 +5,11 @@
 &reg_usdhc2_vmmc {
        u-boot,off-on-delay-us = <20000>;
 };
+
+&uart1 {
+       u-boot,dm-spl;
+};
+
+&pinctrl_uart1 {
+       u-boot,dm-spl;
+};
index a86311b..095e42e 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