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

Signed-off-by: Jerome Neanne <jnea...@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 e9e50538cb..f31d1c4649 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@0 {
                compatible = "ti,am654-rproc";
                reg = <0x0 0x00a90000 0x0 0x10>;
@@ -276,33 +297,8 @@
        ti,driver-strength-ohm = <50>;
 };
 
-&wkup_i2c0 {
-       bootph-pre-ram;
-       tps659413a: tps659413a@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_reg>;
        bootph-pre-ram;
 };
 
-- 
2.34.1

Reply via email to