[PATCH v2 09/13] DONOTMERGE: arm: dts: k3-am62a7-sk: Add TI TPS6593 PMIC support

Jerome Neanne jneanne at baylibre.com
Fri Apr 7 15:33:43 CEST 2023


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>
---
 arch/arm/dts/k3-am62a7-sk-u-boot.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi
index cf938c43b8..e8e35f6cde 100644
--- a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi
@@ -85,6 +85,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 {
@@ -97,6 +105,20 @@
 
 &main_i2c0 {
 	bootph-pre-ram;
+	tps659312: tps659312 at 48 {
+		compatible = "ti,tps659312";
+	};
+};
+
+&mcu_i2c0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&mcu_i2c0_pins_default>;
+
+	tps65931_wd: tps65931_wd at 12 {
+		compatible = "ti,tps65941_watchdog";
+		reg = <0x12>;
+	};
 };
 
 &main_i2c0_pins_default {
-- 
2.34.1



More information about the U-Boot mailing list