summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Soares <vitor.soares@toradex.com>2025-02-10 18:06:46 +0000
committerVitor Soares <vitor.soares@toradex.com>2025-02-11 09:25:05 +0000
commitebe619796f1d6b25084c985a42fc3779f700650d (patch)
treeebb9bccfb43e003e96185208894e85206155a445
parentcc2f2a21587e773bd632004462c994de2deed635 (diff)
arm: dts: imx8mp-toradex-smarc-dev-u-boot: add missing properties to PMICtoradex_u-boot-2024.07_smarc-imx8mp-bringup
During `power_init_board()`, the `pmic_get()` function was failing due to missing properties in the device tree, resulting in the following error: "i2c_mxc i2c@30a20000: i2c bus 0 at 0x30a20000, fail to request scl/sda gpio" This commit adds the required properties: - gpio5 and pinctrl_i2c1_gpio -> sda and scl gpios - gpio1 -> pmic interrupt pin After the change, `pmic_get()` doesn't fail, and the PMIC initializes correctly, enabling LDO4 and I2C level translator (CONFIG2) in pre-RAM bootstage. Upstream-Status: Pending Fixes: 368fd87e2a30 ("arm: dts: imx8mp-toradex-smarc: sync with DT with Linux") Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
-rw-r--r--arch/arm/dts/imx8mp-toradex-smarc-dev-u-boot.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mp-toradex-smarc-dev-u-boot.dtsi b/arch/arm/dts/imx8mp-toradex-smarc-dev-u-boot.dtsi
index ababa8ecbc9..e107a496726 100644
--- a/arch/arm/dts/imx8mp-toradex-smarc-dev-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-toradex-smarc-dev-u-boot.dtsi
@@ -9,6 +9,14 @@
};
};
+&gpio1 {
+ bootph-pre-ram;
+};
+
+&gpio5 {
+ bootph-pre-ram;
+};
+
&i2c1 {
bootph-pre-ram;
};
@@ -25,6 +33,10 @@
bootph-pre-ram;
};
+&pinctrl_i2c1_gpio {
+ bootph-pre-ram;
+};
+
&pinctrl_pmic {
bootph-pre-ram;
};