]> git.baikalelectronics.ru Git - uboot.git/commitdiff
imx: imx8mq-evk: enable CONFIG_DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Fri, 15 Apr 2022 04:35:36 +0000 (12:35 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 13:18:25 +0000 (15:18 +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>
arch/arm/dts/imx8mq-evk-u-boot.dtsi
configs/imx8mq_evk_defconfig

index 6f9c81462eadd0012f21277ee0c340ead0e70048..919c1f66d38d2369024504b096d028e590d5347e 100644 (file)
@@ -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;
+};
index df7a259f35a8eca9d83ff5592fbc1394a1eff8d5..780f93103c76bcab9de35db307dc118737d48aba 100644 (file)
@@ -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