I&#39;ve got four devices on i2c that I need to read.&nbsp; Simple thermal and voltage monitors.&nbsp; I2c works fine in uboot, and now I&#39;m trying to get things to work in linux.<br><br>In the kernel .config I enable <br>&nbsp; I2C<br>
and<br>&nbsp; I2C_MPC<br><br>During the platform boot code:<br>I init the IO ports for i2c, (same as ep8248e code)<br>&nbsp;&nbsp;&nbsp; {3, 14, CPM_PIN_INPUT | CPM_PIN_SECONDARY},<br>&nbsp;&nbsp;&nbsp; {3, 15, CPM_PIN_INPUT | CPM_PIN_SECONDARY},<br><br>__Do I need to configure a brg for the i2c along with the other devices ?&nbsp; 
i.e. cpm2_clk_setup ?<br><br><br>Next, I&#39;m sure my device tree needs work, but my first stab adds i2c onto the SOC @ 11860&nbsp; (immr+11860= I2c mode register) and interrupt 1.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; soc@e0000000 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cpm@119c0 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i2c@11860 {&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; device_type = &quot;i2c&quot;;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; compatible = &quot;fsl-i2c&quot;;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reg = &lt;11860 18&gt;;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; interrupts = &lt;1 3&gt;;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; interrupt-parent = &lt;&amp;PIC&gt;;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br><br>After Cleaning up these routines and descriptions, would I be expected to continue using the /dev/i2c- entries?
<br><br>-Alan<br><br>