mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
arm64: tegra: Correct Tegra132 I2C alias
commit 2633c58e1354d7de2c8e7be8bdb6f68a0a01bad7 upstream.
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: 0f279ebdf3 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ef2f4d60c3
commit
2eea8b448e
@@ -9,8 +9,8 @@
|
|||||||
compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124";
|
compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
rtc0 = "/i2c@7000d000/as3722@40";
|
rtc0 = &as3722;
|
||||||
rtc1 = "/rtc@7000e000";
|
rtc1 = &tegra_rtc;
|
||||||
serial0 = &uarta;
|
serial0 = &uarta;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -579,7 +579,7 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
rtc@7000e000 {
|
tegra_rtc: rtc@7000e000 {
|
||||||
compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc";
|
compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc";
|
||||||
reg = <0x0 0x7000e000 0x0 0x100>;
|
reg = <0x0 0x7000e000 0x0 0x100>;
|
||||||
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
|||||||
Reference in New Issue
Block a user