Add support for TPS6593 PMIC devices:
- regulators (bucks and LDOs) on main I2C0 bus,
- watchdog on MCU I2C0 bus.

Signed-off-by: Julien Panis <jpa...@baylibre.com>
Signed-off-by: Jerome Neanne <jnea...@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 7fc749ed70..4b2e9f7d22 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 {
-       u-boot,dm-spl;
+       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 {
-       u-boot,dm-spl;
+       tps659312: tps659312@48 {
+               compatible = "ti,tps659312";
+       };
+};
+
+&mcu_i2c0 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&mcu_i2c0_pins_default>;
+
+       tps65931_wd: tps65931_wd@12 {
+               compatible = "ti,tps65941_watchdog";
+               reg = <0x12>;
+       };
 };
 
 &main_i2c0_pins_default {
-- 
2.25.1

Reply via email to