Jump to content

Scott Ksander

Members
  • Posts

    7
  • Joined

  • Last visited

  1. 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"; }; }; }; };
  2. 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"; }; }; }; };
  3. Thanks. Will give that a look Scott
  4. No errors are logged. Overlays are i2cA and i2cB. Module is rtc-pcf8563. No /dev/rtc* is created i2cdetect -y 0 shows 0x51 thanks
  5. 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
  6. I tried rebuilding the Device Tree as suggested in other forums. No Joy!! Still can't get it to work. Also added i2c-dev module but that isn't showing in lsmod. Help appreciated. Clearly I am missing something here. This shouldn't be difficult. :-)
  7. Anybody got PCF8563 configured and running on current armbian (25.8.2 noble aarch64) on a C2? i2cdetect -y 0 is seeing the device ID (0x51) and I have added module rtc-pcf8563 but no joy. HWCLOCK does not see the device. Any help would be appreciated. Scott
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines