Skip to contentSkip to conversation

arm: dts: k3-am68-r5-phycore-som: Add PMIC ESM node

PATCH In review Dominik Haller 2 participants 3 messages Feb 27 – Mar 13 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm: dts: k3-am68-r5-phycore-som: Add PMIC ESM node

Add the PMIC ESM node which is responsible for triggering the PMIC reset.

---
 arch/arm/dts/k3-am68-r5-phycore-som-4gb.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/dts/k3-am68-r5-phycore-som-4gb.dts +9 -0
index a2674a3e1f8a..c641a2b59d69 100644
@@ -14,6 +14,15 @@
 #include "k3-am68-phyboard-izar-u-boot.dtsi"
 #include "k3-j721s2-r5.dtsi"
 
+&pmic {
+	bootph-pre-ram;
+
+	esm: esm {
+		compatible = "ti,tps659413-esm";
+		bootph-pre-ram;
+	};
+};
+
 &wkup_vtm0 {
 	bootph-pre-ram;
 	vdd-supply-2 = <&vdd_cpu_avs>;
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 configs: phycore_am68x_r5_defconfig: Add ESM and AVS configs

Add TPS6287X which provides VDD_CPU_AVS and ESM_K3+ESM_PMIC for the watchdogs.

---
 configs/phycore_am68x_r5_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/phycore_am68x_r5_defconfig +3 -0
index a503bd274411..f0bf98bf44bb 100644
@@ -105,7 +105,9 @@ CONFIG_DM_MAILBOX=y
 CONFIG_K3_SEC_PROXY=y
 CONFIG_FS_LOADER=y
 CONFIG_SPL_FS_LOADER=y
+CONFIG_ESM_K3=y
 CONFIG_K3_AVS0=y
+CONFIG_ESM_PMIC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_SPL_MMC_HS400_SUPPORT=y
 CONFIG_MMC_SDHCI=y
@@ -139,6 +141,7 @@ CONFIG_DM_PMIC=y
 CONFIG_PMIC_TPS65941=y
 CONFIG_DM_REGULATOR=y
 CONFIG_SPL_DM_REGULATOR=y
+CONFIG_SPL_DM_REGULATOR_TPS6287X=y
 CONFIG_DM_REGULATOR_TPS65941=y
 CONFIG_K3_SYSTEM_CONTROLLER=y
 CONFIG_RESET_TI_SCI=y
Signature · 1 line
2.43.0
#2 lore raw
In reply to Dominik Haller
Quoted 4 lines · Dominik Haller

Add the PMIC ESM node which is responsible for triggering the PMIC reset.

Applied to u-boot/next, thanks!

[1/2] arm: dts: k3-am68-r5-phycore-som: Add PMIC ESM node

      commit: 965764975e8e174d1094e5b83bc1fabba66e782a
[2/2] configs: phycore_am68x_r5_defconfig: Add ESM and AVS configs
      commit: 1fc549959f98b71d43d6193b94b8ff5c4c2b4685
Signature · 1 line
Tom