mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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:
parent
f797e587eb
commit
b1806f2b4e
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user