]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx6q_logic: Enable Pin muxing in SPL
authorAdam Ford <aford173@gmail.com>
Wed, 9 Oct 2019 17:53:56 +0000 (12:53 -0500)
committerStefano Babic <sbabic@denx.de>
Sun, 13 Oct 2019 20:49:11 +0000 (22:49 +0200)
With the 256KB of OCRAM available to SPL now, there should be
enough room to enable the pinmuxing in SPL from the device tree.

This patch enables SPL_PINCTRL et al and adds the serial and
usdhc pin mux references to the -u-boot.dtsi file so the pins can be
configured from the device tree.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx6q-logicpd-u-boot.dtsi
configs/imx6q_logic_defconfig

index 625bed8f7d70d3f7c0d11e7d97476b6cd2358d1f..ee44ed91fe8fcaf8ba76bcb2975fa7cdd9c3e441 100644 (file)
 &usdhc2 {
        u-boot,dm-spl;
 };
+
+&pinctrl_uart1 {
+       u-boot,dm-spl;
+};
+
+&pinctrl_usdhc1 {
+       u-boot,dm-spl;
+};
+
+&pinctrl_usdhc2 {
+       u-boot,dm-spl;
+};
index a9e8cbea94b44adb0fc4527915bd8a4ec26d9e98..c120cb2f544a484df429e0a60fed509b1993c60a 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_PHY_ATHEROS=y
 CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_PINCTRL=y
+CONFIG_SPL_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_DM_PMIC_PFUZE100=y
 CONFIG_DM_REGULATOR=y