(06-15-2018, 05:04 PM)jata Wrote: I just have no idea how to set them on the rock64. Does anyone have any idea?
Just in case you didn't realise, there was a link in my earlier reply that may have answered that question.
The example given on that page (which you run from the command line) is
Code:
enable_dtoverlay eth1 ethernet@ff550000 okay
... and is an example of enabling eth1 (which would be the second Ethernet port available via the DAC shield for the rock64).
Following that syntax and the instruction to look at the DTS include file for the device names, I would suggest that to enable I2C bus 0 (which looks to be on pins 3 & 5 from the GPIO doc, the below should work...
Code:
enable_dtoverlay i2c0 i2c@ff150000 okay
Give it a try, and see if you pick up the RTC now using i2cdetect -y 0