[PATCH 3/3] arm64: dts: exynosautov9: add RTC DT node

Devang Tailor posted 3 patches 3 months, 1 week ago
There is a newer version of this series
[PATCH 3/3] arm64: dts: exynosautov9: add RTC DT node
Posted by Devang Tailor 3 months, 1 week ago
Add DT node for on-chip RTC for ExynosAutov9

Signed-off-by: Devang Tailor <dev.tailor@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts |  4 ++++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi     | 10 ++++++++++
 2 files changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
index de2c1de51a76..5f5167571f7a 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
+++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
@@ -106,6 +106,10 @@ &pwm {
 	status = "okay";
 };
 
+&rtc {
+	status = "okay";
+};
+
 &serial_0 {
 	pinctrl-0 = <&uart0_bus_dual>;
 	status = "okay";
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
index 66628cb32776..e655212f6a6b 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
@@ -1633,6 +1633,16 @@ pwm: pwm@103f0000 {
 			clock-names = "timers";
 			status = "disabled";
 		};
+
+		rtc: rtc@10540000 {
+			compatible = "samsung,exynosautov9-rtc";
+			reg = <0x10540000 0x100>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
+				<GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&xtcxo>;
+			clock-names = "rtc";
+			status = "disabled";
+		};
 	};
 };
 
-- 
2.34.1
Re: [PATCH 3/3] arm64: dts: exynosautov9: add RTC DT node
Posted by Krzysztof Kozlowski 3 months ago
On 02/07/2025 07:24, Devang Tailor wrote:
> --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> @@ -1633,6 +1633,16 @@ pwm: pwm@103f0000 {
>  			clock-names = "timers";
>  			status = "disabled";
>  		};
> +
> +		rtc: rtc@10540000 {
> +			compatible = "samsung,exynosautov9-rtc";
> +			reg = <0x10540000 0x100>;
> +			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
> +				<GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;


Misaligned. Should match earlier '<'.


Best regards,
Krzysztof
RE: [PATCH 3/3] arm64: dts: exynosautov9: add RTC DT node
Posted by Devang Tailor 3 months ago
Hi Krzysztof,


> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: 07 July 2025 14:53
> To: Devang Tailor <dev.tailor@samsung.com>;
> alexandre.belloni@bootlin.com; robh@kernel.org; krzk+dt@kernel.org;
> conor+dt@kernel.org; alim.akhtar@samsung.com; linux-rtc@vger.kernel.org;
> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; inux-arm-
> kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org;
> faraz.ata@samsung.com
> Subject: Re: [PATCH 3/3] arm64: dts: exynosautov9: add RTC DT node
> 
> On 02/07/2025 07:24, Devang Tailor wrote:
> > --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> > +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> > @@ -1633,6 +1633,16 @@ pwm: pwm@103f0000 {
> >  			clock-names = "timers";
> >  			status = "disabled";
> >  		};
> > +
> > +		rtc: rtc@10540000 {
> > +			compatible = "samsung,exynosautov9-rtc";
> > +			reg = <0x10540000 0x100>;
> > +			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
> > +				<GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
> 
> 
> Misaligned. Should match earlier '<'.

Will update it to match last '<' 's alignment.

> 
> 
> Best regards,
> Krzysztof