Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: azuolas on August 07, 2013, 05:49:00 pm

Title: 1-wire Dallas RTC
Post by: azuolas on August 07, 2013, 05:49:00 pm
had anybody succeeded to connect Dallas 1-wire RTC to olinuxino? I had recompiled kernel with enabled "Dallas's 1-wire support" option in "Device Drivers". but now I can not see any new device in /dev/ directory. or 1wire device should be accessed in another way?
Title: Re: 1-wire Dallas RTC
Post by: ggilles on August 08, 2013, 10:28:31 am
If you are using a recent (>=3.8 ) kernel, you have to adjust the device tree file (dts) to describe your hardware: which pin is connected to what?

The dts file for olinuxino is arch/arm/boot/dts/imx23-olinuxino.dts

You should just need to look at the devicetree documentation for that dallas 1-wire RTC to see how to had the missing infos... However, I just checked and could not see any info for 1-wire, only for i2c. I guess you will have to look at the sources for that RTC's module.