]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8mq-cm: enable CONFIG_DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Thu, 5 May 2022 07:43:39 +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-cm-u-boot.dtsi
configs/imx8mq_cm_defconfig

index 476a8e3dba27fdb83c26f1b4fac0948c504570cd..e2f4b0e740d82ece3005259d59ee6c26362ba750 100644 (file)
@@ -9,6 +9,14 @@
        };
 };
 
+&pinctrl_uart1 {
+       u-boot,dm-spl;
+};
+
+&uart1 {
+       u-boot,dm-spl;
+};
+
 &binman {
         u-boot-spl-ddr {
                filename = "u-boot-spl-ddr.bin";
index 1cca21ec55ae98e29d8a8674e994c5bed9a86d52..8e024604378eac7db85fbfe7a0e11ecd1c5b216e 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_DM_PMIC_BD71837=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y