[PATCH 2/2] DONOTMERGE: j7200: device tree and defconfig update

Udit Kumar u-kumar1 at ti.com
Fri Sep 1 08:15:00 CEST 2023


Enable VTM node in device tree and update defconfig for vtm.

Signed-off-by: Udit Kumar <u-kumar1 at ti.com>
---
 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 +++++++++
 configs/j7200_evm_a72_defconfig       | 3 +++
 2 files changed, 12 insertions(+)

diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
index 1044ec6c4b..5e647a7cf2 100644
--- a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
+++ b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
@@ -53,6 +53,15 @@
 		reg = <0x00 0x43000014 0x00 0x4>;
 	};
 
+	wkup_vtm: temperature-sensor at 42040000 {
+		compatible = "ti,j7200-vtm";
+		reg = <0x00 0x42040000 0x00 0x350>,
+		<0x00 0x42050000 0x00 0x350>,
+		<0x00 0x43000300 0x00 0x10>;
+		power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
+		#thermal-sensor-cells = <1>;
+	};
+
 	wkup_pmx0: pinctrl at 4301c000 {
 		compatible = "pinctrl-single";
 		/* Proxy 0 addressing */
diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig
index ad8492a17e..b4b99dc863 100644
--- a/configs/j7200_evm_a72_defconfig
+++ b/configs/j7200_evm_a72_defconfig
@@ -178,6 +178,9 @@ CONFIG_CADENCE_QSPI=y
 CONFIG_HAS_CQSPI_REF_CLK=y
 CONFIG_CQSPI_REF_CLK=133333333
 CONFIG_SYSRESET=y
+CONFIG_DM_THERMAL=y
+CONFIG_TI_K3_THERMAL=y
+CONFIG_CMD_TEMPERATURE=y
 CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_TI_SCI=y
 CONFIG_USB=y
-- 
2.34.1



More information about the U-Boot mailing list