diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-05-05 15:43:39 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-05-20 09:30:29 +0200 |
commit | 23df340f325a0c5d3048cee89e35a779902bf579 (patch) | |
tree | 953938d4ca916d601904ad499e82cebead6f6533 | |
parent | 56f3888b436ce6e8bf0fe1565c1d734b2ca08612 (diff) |
imx: imx8mq-cm: enable CONFIG_DM_SERIAL
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>
-rw-r--r-- | arch/arm/dts/imx8mq-cm-u-boot.dtsi | 8 | ||||
-rw-r--r-- | configs/imx8mq_cm_defconfig | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mq-cm-u-boot.dtsi b/arch/arm/dts/imx8mq-cm-u-boot.dtsi index 476a8e3dba2..e2f4b0e740d 100644 --- a/arch/arm/dts/imx8mq-cm-u-boot.dtsi +++ b/arch/arm/dts/imx8mq-cm-u-boot.dtsi @@ -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"; diff --git a/configs/imx8mq_cm_defconfig b/configs/imx8mq_cm_defconfig index 1cca21ec55a..8e024604378 100644 --- a/configs/imx8mq_cm_defconfig +++ b/configs/imx8mq_cm_defconfig @@ -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 |