>> Reading the fsl i2c bindings in the documentation, I found an example >> as follows. >> 27 ...@860 { >> 28 compatible = "fsl,mpc823-i2c", >> 29 "fsl,cpm1-i2c"; >> 30 reg = <0x860 0x20 0x3c80 0x30>; >> 31 interrupts = <16>; >> 32 interrupt-parent = <&CPM_PIC>; >> 33 fsl,cpm-command = <0x10>; >> 34 #address-cells = <1>; >> 35 #size-cells = <0>; >> 36 >> 37 ...@68 { >> 38 compatible = "dallas,ds1307"; >> 39 reg = <0x68>; >> 40 }; >> 41 }; >> 42 >> >> In the above example the rtc was explicitly declared as a subnode of >> the i2c node. Is this the way to connect (or bind) a RTC to the I2C >> driver? > > Yes.
Thanks Scott for the confirmation. I added that to my dts file and the driver did try to probe the device. But accessing the device timed out. There are some microcode patches related to I2C that I've not applied. I'll try the patch(es) later. But how can I find out which patch should be applied to my MPC870? Thanks, -Shawn. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev