diff mbox series

[U-Boot,v3,09/18] arm: dts: k3-am654-r5-base-board: Add VTM node

Message ID 20191024093103.13220-10-j-keerthy@ti.com
State Accepted
Commit cfa6bd549c4f7045b756fbd76c75425166fc7366
Delegated to: Tom Rini
Headers show
Series misc: Add AVS class 0 support for AM6 | expand

Commit Message

Keerthy Oct. 24, 2019, 9:30 a.m. UTC
Add VTM node for voltage and thermal management. For u-boot, this is needed
for supporting AVS class 0, as the efuse values for the OPPs are stored
under the VTM.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
---
Changes in v3:

  * Moved from generic wakeup.dtsi to r5 board file.

Changes in v2:

  * No change

 arch/arm/dts/k3-am654-r5-base-board.dts | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Tom Rini Nov. 8, 2019, 3:34 p.m. UTC | #1
On Thu, Oct 24, 2019 at 03:00:54PM +0530, Keerthy wrote:

> Add VTM node for voltage and thermal management. For u-boot, this is needed
> for supporting AVS class 0, as the efuse values for the OPPs are stored
> under the VTM.
> 
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
> Signed-off-by: Keerthy <j-keerthy@ti.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base-board.dts
index 174d202306..6ab0f4af10 100644
--- a/arch/arm/dts/k3-am654-r5-base-board.dts
+++ b/arch/arm/dts/k3-am654-r5-base-board.dts
@@ -97,6 +97,13 @@ 
 		u-boot,dm-spl;
 	};
 
+	wkup_vtm0: wkup_vtm@42050000 {
+		compatible = "ti,am654-vtm", "ti,am654-avs";
+		reg = <0x42050000 0x25c>;
+		power-domains = <&k3_pds 80>;
+		#thermal-sensor-cells = <1>;
+	};
+
 	clk_200mhz: dummy_clock {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;