[PATCH v1 6/9] DONOTMERGE: arm: dts: k3-j721e: refactor r5 board file to use Linux dts tps6594 description
Jerome Neanne
jneanne at baylibre.com
Thu Apr 6 17:38:17 CEST 2023
Use a copy of Linux dts for TPS6594 PMIC description
instead of custom u-boot
Signed-off-by: Jerome Neanne <jneanne 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 ab9d6e65d8..a5c0222e91 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>;
@@ -276,33 +297,8 @@
ti,driver-strength-ohm = <50>;
};
-&wkup_i2c0 {
- u-boot,dm-spl;
- tps659413a: tps659413a at 48 {
- reg = <0x48>;
- compatible = "ti,tps659413";
- u-boot,dm-spl;
- pinctrl-names = "default";
- pinctrl-0 = <&wkup_i2c0_pins_default>;
- clock-frequency = <400000>;
-
- regulators: regulators {
- u-boot,dm-spl;
- buck12_reg: buck12 {
- /*VDD_CPU*/
- regulator-name = "buck12";
- regulator-min-microvolt = <600000>;
- regulator-max-microvolt = <900000>;
- regulator-always-on;
- regulator-boot-on;
- u-boot,dm-spl;
- };
- };
- };
-};
-
&wkup_vtm0 {
- vdd-supply-2 = <&buck12_reg>;
+ vdd-supply-2 = <&bucka12_reg>;
u-boot,dm-spl;
};
--
2.25.1
More information about the U-Boot
mailing list