From e5935cf5a5a5d936db2eac8a8ed6b9ba21b6a1fb Mon Sep 17 00:00:00 2001 From: Keerthy Date: Mon, 9 Oct 2023 14:12:53 +0530 Subject: arm: dts: k3-j721s2-r5-common-proc-board: Add ESM PMIC and dependent nodes PMIC ESM is part of tps6594x PMIC and connected to WKUP_I2C instance. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721s2-r5-common-proc-board.dts | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts b/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts index 9eb23ee196..16599c2e6f 100644 --- a/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts +++ b/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts @@ -139,6 +139,14 @@ >; }; + wkup_i2c0_pins_default: wkup-i2c0-pins-default { + bootph-pre-ram; + pinctrl-single,pins = < + J721S2_WKUP_IOPAD(0x100, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */ + J721S2_WKUP_IOPAD(0x104, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */ + >; + }; + wkup_uart0_pins_default: wkup-uart0-pins-default { bootph-pre-ram; pinctrl-single,pins = < @@ -312,4 +320,35 @@ ti,sci = <&dm_tifs>; }; +&wkup_i2c0 { + bootph-pre-ram; + pinctrl-names = "default"; + pinctrl-0 = <&wkup_i2c0_pins_default>; + clock-frequency = <400000>; + + tps659413: tps659413@48 { + compatible = "ti,tps659413"; + reg = <0x48>; + bootph-pre-ram; + + regulators: regulators { + bootph-pre-ram; + buck1234_reg: buck1234 { + /*VDD_CPU_AVS*/ + regulator-name = "buck1234"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <900000>; + regulator-always-on; + regulator-boot-on; + bootph-pre-ram; + }; + }; + + esm: esm { + compatible = "ti,tps659413-esm"; + bootph-pre-ram; + }; + }; +}; + #include "k3-j721s2-common-proc-board-u-boot.dtsi" -- cgit v1.2.3