arm64: tegra: Add device-tree node for NVVRS RTC

Add NVIDIA VRS (Voltage Regulator Specification) RTC device tree node for
Tegra234 P3701 and P3767 platforms. Assign VRS RTC as primary RTC (rtc0).

Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Shubhi Garg 2025-10-07 13:57:36 +00:00 committed by Thierry Reding
parent f797e587eb
commit b1806f2b4e
2 changed files with 26 additions and 0 deletions

View File

@ -8,6 +8,7 @@ / {
aliases {
mmc0 = "/bus@0/mmc@3460000";
mmc1 = "/bus@0/mmc@3400000";
rtc0 = "/bpmp/i2c/pmic@3c";
};
bus@0 {
@ -170,6 +171,16 @@ bpmp {
i2c {
status = "okay";
pmic@3c {
compatible = "nvidia,vrs-10";
reg = <0x3c>;
interrupt-parent = <&pmc>;
/* VRS Wake ID is 24 */
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
};
thermal-sensor@4c {
compatible = "ti,tmp451";
status = "okay";

View File

@ -7,6 +7,7 @@ / {
aliases {
mmc0 = "/bus@0/mmc@3400000";
rtc0 = "/bpmp/i2c/pmic@3c";
};
bus@0 {
@ -121,6 +122,20 @@ pmc@c360000 {
};
};
bpmp {
i2c {
pmic@3c {
compatible = "nvidia,vrs-10";
reg = <0x3c>;
interrupt-parent = <&pmc>;
/* VRS Wake ID is 24 */
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
};
vdd_5v0_sys: regulator-vdd-5v0-sys {
compatible = "regulator-fixed";
regulator-name = "VDD_5V0_SYS";