Skip to content

Commit 2633c58

Browse files
krzkthierryreding
authored andcommitted
arm64: tegra: Correct Tegra132 I2C alias
There is no such device as "as3722@40", because its name is "pmic". Use phandles for aliases to fix relying on full node path. This corrects aliases for RTC devices and also fixes dtc W=1 warning: tegra132-norrin.dts:12.3-36: Warning (alias_paths): /aliases:rtc0: aliases property is not a valid node (/i2c@7000d000/as3722@40) Fixes: 0f279eb ("arm64: tegra: Add NVIDIA Tegra132 Norrin support") Cc: stable@vger.kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 4cece76 commit 2633c58

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm64/boot/dts/nvidia/tegra132-norrin.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124";
1010

1111
aliases {
12-
rtc0 = "/i2c@7000d000/as3722@40";
13-
rtc1 = "/rtc@7000e000";
12+
rtc0 = &as3722;
13+
rtc1 = &tegra_rtc;
1414
serial0 = &uarta;
1515
};
1616

arch/arm64/boot/dts/nvidia/tegra132.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@
572572
status = "disabled";
573573
};
574574

575-
rtc@7000e000 {
575+
tegra_rtc: rtc@7000e000 {
576576
compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc";
577577
reg = <0x0 0x7000e000 0x0 0x100>;
578578
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;

0 commit comments

Comments
 (0)