aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-04-15 12:35:36 +0800
committerStefano Babic <sbabic@denx.de>2022-04-21 15:18:25 +0200
commite3b330e489e777d4cf0d8d83e4d89cfe674ed597 (patch)
treec4ba6038c75ecc362da49560b5008b572e36f5da
parenta497740f4ea6e823ef96b14756032cc51ffe9419 (diff)
downloadu-boot-e3b330e489e777d4cf0d8d83e4d89cfe674ed597.zip
u-boot-e3b330e489e777d4cf0d8d83e4d89cfe674ed597.tar.gz
u-boot-e3b330e489e777d4cf0d8d83e4d89cfe674ed597.tar.bz2
imx: imx8mq-evk: 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>
-rw-r--r--arch/arm/dts/imx8mq-evk-u-boot.dtsi32
-rw-r--r--configs/imx8mq_evk_defconfig1
2 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mq-evk-u-boot.dtsi b/arch/arm/dts/imx8mq-evk-u-boot.dtsi
index 6f9c814..919c1f6 100644
--- a/arch/arm/dts/imx8mq-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mq-evk-u-boot.dtsi
@@ -2,6 +2,34 @@
#include "imx8mq-u-boot.dtsi"
+&{/soc@0} {
+ u-boot,dm-spl;
+};
+
+&{/soc@0/bus@30000000} {
+ u-boot,dm-spl;
+};
+
+&{/soc@0/bus@30400000} {
+ u-boot,dm-spl;
+};
+
+&{/soc@0/bus@30800000} {
+ u-boot,dm-spl;
+};
+
+&{/soc@0/bus@32c00000} {
+ u-boot,dm-spl;
+};
+
+&iomuxc {
+ u-boot,dm-spl;
+};
+
+&pinctrl_uart1 {
+ u-boot,dm-spl;
+};
+
&usdhc1 {
mmc-hs400-1_8v;
};
@@ -10,3 +38,7 @@
sd-uhs-sdr104;
sd-uhs-ddr50;
};
+
+&uart1 {
+ u-boot,dm-spl;
+};
diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_evk_defconfig
index df7a259..780f931 100644
--- a/configs/imx8mq_evk_defconfig
+++ b/configs/imx8mq_evk_defconfig
@@ -80,6 +80,7 @@ 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
CONFIG_USB=y