[PATCH 09/18] DONOTMERGE: arm: dts: k3-am62a7-sk: Add TI TPS6593 PMIC support
Apelete Seketeli
aseketeli at baylibre.com
Fri May 12 15:17:36 CEST 2023
From: Jerome Neanne <jneanne at baylibre.com>
Add support for TPS6593 PMIC devices:
- regulators (bucks and LDOs) on main I2C0 bus,
- watchdog on MCU I2C0 bus.
Signed-off-by: Julien Panis <jpanis at baylibre.com>
Signed-off-by: Jerome Neanne <jneanne at baylibre.com>
Signed-off-by: Apelete Seketeli <aseketeli at baylibre.com>
---
arch/arm/dts/k3-am62a7-sk-u-boot.dtsi | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi
index cf938c43b8..fe392054c8 100644
--- a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi
@@ -84,7 +84,14 @@
};
&mcu_pmx0 {
- bootph-pre-ram;
+ status = "okay";
+
+ mcu_i2c0_pins_default: mcu_i2c0_pins_default {
+ pinctrl-single,pins = <
+ AM62X_MCU_IOPAD(0x044, PIN_INPUT_PULLUP, 0) /* (E12) MCU_I2C0_SCL */
+ AM62X_MCU_IOPAD(0x048, PIN_INPUT_PULLUP, 0) /* (D9) MCU_I2C0_SDA */
+ >;
+ };
};
&wkup_uart0 {
@@ -96,7 +103,20 @@
};
&main_i2c0 {
- bootph-pre-ram;
+ tps659312: pmic at 48 {
+ compatible = "ti,tps659312";
+ };
+};
+
+&mcu_i2c0 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mcu_i2c0_pins_default>;
+
+ tps65931_wd: watchdog at 12 {
+ compatible = "ti,tps65941_watchdog";
+ reg = <0x12>;
+ };
};
&main_i2c0_pins_default {
--
2.34.1
More information about the U-Boot
mailing list