diff mbox series

[v3,2/5] arm/dts: k3-j7200-r5-common: Add pmic lp876441 node

Message ID 20210714205300.17424-3-g-tammana@ti.com
State Accepted
Commit 6fb8706bcb88ae53780cadad63e698f231eac4ee
Delegated to: Lokesh Vutla
Headers show
Series Add PMIC node for J7200 | expand

Commit Message

Gowtham Tammana July 14, 2021, 8:52 p.m. UTC
Add pmic lp876411 node needed for CPU AVS support.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
---
 .../arm/dts/k3-j7200-r5-common-proc-board.dts | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

Comments

Grygorii Strashko July 15, 2021, 4:18 p.m. UTC | #1
On 14/07/2021 23:52, Gowtham Tammana wrote:
> Add pmic lp876411 node needed for CPU AVS support.
> 
> Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
> ---
>   .../arm/dts/k3-j7200-r5-common-proc-board.dts | 26 +++++++++++++++++++
>   1 file changed, 26 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
> index 8dc1809979..6ef92145ef 100644
> --- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
> +++ b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
> @@ -239,6 +239,32 @@
>   	ti,driver-strength-ohm = <50>;
>   };
>   
> +&wkup_i2c0 {
> +	u-boot,dm-spl;
> +	lp876441: lp876441@4c {
> +		compatible = "ti,lp876441";
> +		reg = <0x4c>;
> +		u-boot,dm-spl;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&wkup_i2c0_pins_default>;
> +		clock-frequency = <400000>;

pls, send follow up fix to place pimux and freq props correctly in i2c node

> +
> +		regulators: regulators {
> +			u-boot,dm-spl;
> +			buck1_reg: buck1 {
> +				/*VDD_CPU_AVS_REG*/
> +				regulator-name = "buck1";
> +				regulator-min-microvolt = <800000>;
> +				regulator-max-microvolt = <1250000>;
> +				regulator-always-on;
> +				regulator-boot-on;
> +				u-boot,dm-spl;
> +			};
> +		};
> +	};
> +
> +};
> +
>   &main_i2c0 {
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&main_i2c0_pins_default>;
>
diff mbox series

Patch

diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
index 8dc1809979..6ef92145ef 100644
--- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
+++ b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
@@ -239,6 +239,32 @@ 
 	ti,driver-strength-ohm = <50>;
 };
 
+&wkup_i2c0 {
+	u-boot,dm-spl;
+	lp876441: lp876441@4c {
+		compatible = "ti,lp876441";
+		reg = <0x4c>;
+		u-boot,dm-spl;
+		pinctrl-names = "default";
+		pinctrl-0 = <&wkup_i2c0_pins_default>;
+		clock-frequency = <400000>;
+
+		regulators: regulators {
+			u-boot,dm-spl;
+			buck1_reg: buck1 {
+				/*VDD_CPU_AVS_REG*/
+				regulator-name = "buck1";
+				regulator-min-microvolt = <800000>;
+				regulator-max-microvolt = <1250000>;
+				regulator-always-on;
+				regulator-boot-on;
+				u-boot,dm-spl;
+			};
+		};
+	};
+
+};
+
 &main_i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_i2c0_pins_default>;