diff mbox series

[v2,2/5] ARM: dts: at91: Add the required `atmel, rtt-rtc-time-reg` property

Message ID 20220303140626.38129-3-sergiu.moga@microchip.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: rtc: convert at91sam9 bindings to | expand

Commit Message

Sergiu Moga March 3, 2022, 2:06 p.m. UTC
Add the required `atmel,rtt-rtc-time-reg` property to the `rtt` nodes
of the RTT IPs.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
---
 arch/arm/boot/dts/at91sam9261.dtsi | 1 +
 arch/arm/boot/dts/at91sam9263.dtsi | 2 ++
 arch/arm/boot/dts/at91sam9rl.dtsi  | 1 +
 3 files changed, 4 insertions(+)

Comments

Tudor Ambarus March 4, 2022, 11:06 a.m. UTC | #1
On 3/3/22 16:06, Sergiu Moga wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Add the required `atmel,rtt-rtc-time-reg` property to the `rtt` nodes
> of the RTT IPs.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
> ---
>  arch/arm/boot/dts/at91sam9261.dtsi | 1 +
>  arch/arm/boot/dts/at91sam9263.dtsi | 2 ++
>  arch/arm/boot/dts/at91sam9rl.dtsi  | 1 +
>  3 files changed, 4 insertions(+)

Now with Alexandre's feedback from patch 1/5, you should probably move the
atmel,rtt-rtc-time-reg prop to each of the board files that uses these SoCs.

cheers,
ta
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/at91sam9261.dtsi b/arch/arm/boot/dts/at91sam9261.dtsi
index 7adc36ca8a46..ac50b164138a 100644
--- a/arch/arm/boot/dts/at91sam9261.dtsi
+++ b/arch/arm/boot/dts/at91sam9261.dtsi
@@ -627,6 +627,7 @@  rtc@fffffd20 {
 				reg = <0xfffffd20 0x10>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
 				clocks = <&slow_xtal>;
+				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
 				status = "disabled";
 			};
 
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
index fe45d96239c9..6be91df2a8b1 100644
--- a/arch/arm/boot/dts/at91sam9263.dtsi
+++ b/arch/arm/boot/dts/at91sam9263.dtsi
@@ -734,6 +734,7 @@  rtc@fffffd20 {
 				reg = <0xfffffd20 0x10>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
 				clocks = <&slow_xtal>;
+				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
 				status = "disabled";
 			};
 
@@ -742,6 +743,7 @@  rtc@fffffd50 {
 				reg = <0xfffffd50 0x10>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
 				clocks = <&slow_xtal>;
+				atmel,rtt-rtc-time-reg = <&gpbr 0x4>;
 				status = "disabled";
 			};
 
diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
index 730d1182c73e..80e41f115216 100644
--- a/arch/arm/boot/dts/at91sam9rl.dtsi
+++ b/arch/arm/boot/dts/at91sam9rl.dtsi
@@ -805,6 +805,7 @@  rtc@fffffd20 {
 				reg = <0xfffffd20 0x10>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
 				clocks = <&clk32k>;
+				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
 				status = "disabled";
 			};