]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: apple: t8103,t60xx,t8112: Add SMC RTC node
authorSven Peter <sven@kernel.org>
Mon, 15 Dec 2025 09:37:50 +0000 (19:37 +1000)
committerSven Peter <sven@kernel.org>
Tue, 16 Dec 2025 12:30:26 +0000 (13:30 +0100)
The System Manager Controller of all M1/M2 SoCs supports the RTC
sub-device.

Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Link: https://patch.msgid.link/20251215-macsmc-subdevs-v6-6-0518cb5f28ae@gmail.com
Signed-off-by: Sven Peter <sven@kernel.org>
arch/arm64/boot/dts/apple/t600x-die0.dtsi
arch/arm64/boot/dts/apple/t602x-die0.dtsi
arch/arm64/boot/dts/apple/t8103.dtsi
arch/arm64/boot/dts/apple/t8112.dtsi

index 3603b276a2abcfa6a730f58d5c6b9914f22f00b0..f715b19efd1679e5cd384a967d6e2a7c261ee679 100644 (file)
                        nvmem-cell-names = "shutdown_flag", "boot_stage",
                                "boot_error_count", "panic_count";
                };
+
+               rtc {
+                       compatible = "apple,smc-rtc";
+                       nvmem-cells = <&rtc_offset>;
+                       nvmem-cell-names = "rtc_offset";
+               };
        };
 
        smc_mbox: mbox@290408000 {
index 2e7d2bf08ddc829e87d3776163503b0eaae843a7..8622ddea7b44539ff34b00bac773c0cb4e5197b2 100644 (file)
                        nvmem-cell-names = "shutdown_flag", "boot_stage",
                                "boot_error_count", "panic_count";
                };
+
+               rtc {
+                       compatible = "apple,smc-rtc";
+                       nvmem-cells = <&rtc_offset>;
+                       nvmem-cell-names = "rtc_offset";
+               };
        };
 
        pinctrl_smc: pinctrl@2a2820000 {
index 8b7b27887968741b745651e5133dffa7d8d20f6d..59f2678639cf47f469dc699c0ecb5b9e50a45ab1 100644 (file)
                                nvmem-cell-names = "shutdown_flag", "boot_stage",
                                        "boot_error_count", "panic_count";
                        };
+
+                       rtc {
+                               compatible = "apple,smc-rtc";
+                               nvmem-cells = <&rtc_offset>;
+                               nvmem-cell-names = "rtc_offset";
+                       };
                };
 
                smc_mbox: mbox@23e408000 {
index 3f79878b25af1f7760088aa552589494d67347fb..6bc3f58b06f703ed79578e89a030929a18d57796 100644 (file)
                                nvmem-cell-names = "shutdown_flag", "boot_stage",
                                        "boot_error_count", "panic_count";
                        };
+
+                       rtc {
+                               compatible = "apple,smc-rtc";
+                               nvmem-cells = <&rtc_offset>;
+                               nvmem-cell-names = "rtc_offset";
+                       };
                };
 
                smc_mbox: mbox@23e408000 {