-
RTC running on current Armbian release??
Thanks for the tips. The following overlay works on a c2 /dts-v1/; / { compatible = "amlogic,meson-gxbb"; fragment@0 { target-path = "/aliases"; __overlay__ { i2cA = "/soc/bus@c1100000/i2c@8500"; }; }; fragment@1 { target-path = "/soc/bus@c1100000/i2c@8500"; __overlay__ { #address-cells = <1>; #size-cells = <0>; pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay"; }; }; }; };
-
Setup for current Armbian/Ubuntu (25.8.2) for PCF8563 RTC on C2
Turns out the secret was getting the address and symbols right in the device tree. I create the following as meson-pcf8563.dts, compiled into meson-pcf8563.dtbo, moved to /boot/dtb/amlogic/overlay, and added pcf8563 to the "overlays" line in armbianEnv.txt. /dts-v1/; / { compatible = "amlogic,meson-gxbb"; fragment@0 { target-path = "/aliases"; __overlay__ { i2cA = "/soc/bus@c1100000/i2c@8500"; }; }; fragment@1 { target-path = "/soc/bus@c1100000/i2c@8500"; __overlay__ { #address-cells = <1>; #size-cells = <0>; pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay"; }; }; }; };
- RTC running on current Armbian release??
- RTC running on current Armbian release??
-
RTC running on current Armbian release??
I am unable to get any RTC installed on a C2 with current Armbian. i2cdetect sees the device ID but no joy getting anything to talk to it. Yes, I know these are very old but they were donated to a non-profit and I am trying to help set them up for a project. Current Armbian runs great and perfect for our need. I need an RTC. I have tried both the Odroid PCF8563 (0x51 seen) and DS3231. I have tried all the online blog posts, rebuilt the Device Tree, etc. but can't seem to get things to work. Any pointers would be much appreciate. LInux odroidc2 6.12.56-current-meson64 #1 SMP PREEMPT Wed. Oct 29 13:09:02 UTC 2025 Thanks, Scott
- Setup for current Armbian/Ubuntu (25.8.2) for PCF8563 RTC on C2
- Setup for current Armbian/Ubuntu (25.8.2) for PCF8563 RTC on C2