[PATCH 06/18] DONOTMERGE: arm: dts: k3-j721e: refactor r5 board file to use Linux dts tps6594 description

Apelete Seketeli aseketeli at baylibre.com
Fri May 12 15:17:33 CEST 2023


From: Jerome Neanne <jneanne at baylibre.com>

Use a copy of Linux dts for TPS6594 PMIC description
instead of custom u-boot

Signed-off-by: Jerome Neanne <jneanne at baylibre.com>
Signed-off-by: Apelete Seketeli <aseketeli at baylibre.com>
---
 .../arm/dts/k3-j721e-r5-common-proc-board.dts | 48 +++++++++----------
 1 file changed, 22 insertions(+), 26 deletions(-)

diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
index 1b40cf2580..f6456034d4 100644
--- a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
+++ b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
@@ -21,6 +21,27 @@
 		tick-timer = &timer1;
 	};
 
+	evm_12v0: fixedregulator-evm12v0 {
+		/* main supply */
+		compatible = "regulator-fixed";
+		regulator-name = "evm_12v0";
+		regulator-min-microvolt = <12000000>;
+		regulator-max-microvolt = <12000000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
+	vsys_3v3: fixedregulator-vsys3v3 {
+		/* Output of LM5140 */
+		compatible = "regulator-fixed";
+		regulator-name = "vsys_3v3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		vin-supply = <&evm_12v0>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
 	a72_0: a72 at 0 {
 		compatible = "ti,am654-rproc";
 		reg = <0x0 0x00a90000 0x0 0x10>;
@@ -277,33 +298,8 @@
 	ti,driver-strength-ohm = <50>;
 };
 
-&wkup_i2c0 {
-	bootph-pre-ram;
-	tps659413a: tps659413a at 48 {
-		reg = <0x48>;
-		compatible = "ti,tps659413";
-		bootph-pre-ram;
-		pinctrl-names = "default";
-		pinctrl-0 = <&wkup_i2c0_pins_default>;
-		clock-frequency = <400000>;
-
-		regulators: regulators {
-			bootph-pre-ram;
-			buck12_reg: buck12 {
-				/*VDD_CPU*/
-				regulator-name = "buck12";
-				regulator-min-microvolt = <600000>;
-				regulator-max-microvolt = <900000>;
-				regulator-always-on;
-				regulator-boot-on;
-				bootph-pre-ram;
-			};
-		};
-	};
-};
-
 &wkup_vtm0 {
-	vdd-supply-2 = <&buck12_reg>;
+	vdd-supply-2 = <&bucka12>;
 	bootph-pre-ram;
 };
 
-- 
2.34.1



More information about the U-Boot mailing list