~ubuntu-branches/ubuntu/utopic/linux-ti-omap/utopic

« back to all changes in this revision

Viewing changes to Documentation/powerpc/dts-bindings/fsl/i2c.txt

  • Committer: Bazaar Package Importer
  • Author(s): Amit Kucheria, Amit Kucheria
  • Date: 2010-03-10 02:28:15 UTC
  • Revision ID: james.westby@ubuntu.com-20100310022815-7sd3gwvn5kenaq33
Tags: 2.6.33-500.1
[ Amit Kucheria ]

* Initial release of a 2.6.33-based OMAP kernel
* UBUNTU: [Upstream] Fix omap 1-wire driver compilation
* UBUNTU: ubuntu: AppArmor -- update to mainline 2010-03-04

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
* I2C
 
2
 
 
3
Required properties :
 
4
 
 
5
 - device_type : Should be "i2c"
 
6
 - reg : Offset and length of the register set for the device
 
7
 
 
8
Recommended properties :
 
9
 
 
10
 - compatible : compatibility list with 2 entries, the first should
 
11
   be "fsl,CHIP-i2c" where CHIP is the name of a compatible processor,
 
12
   e.g. mpc8313, mpc8543, mpc8544, mpc5200 or mpc5200b. The second one
 
13
   should be "fsl-i2c".
 
14
 - interrupts : <a b> where a is the interrupt number and b is a
 
15
   field that represents an encoding of the sense and level
 
16
   information for the interrupt.  This should be encoded based on
 
17
   the information in section 2) depending on the type of interrupt
 
18
   controller you have.
 
19
 - interrupt-parent : the phandle for the interrupt controller that
 
20
   services interrupts for this device.
 
21
 - fsl,preserve-clocking : boolean; if defined, the clock settings
 
22
   from the bootloader are preserved (not touched).
 
23
 - clock-frequency : desired I2C bus clock frequency in Hz.
 
24
 
 
25
Examples :
 
26
 
 
27
        i2c@3d00 {
 
28
                #address-cells = <1>;
 
29
                #size-cells = <0>;
 
30
                compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
 
31
                cell-index = <0>;
 
32
                reg = <0x3d00 0x40>;
 
33
                interrupts = <2 15 0>;
 
34
                interrupt-parent = <&mpc5200_pic>;
 
35
                fsl,preserve-clocking;
 
36
        };
 
37
 
 
38
        i2c@3100 {
 
39
                #address-cells = <1>;
 
40
                #size-cells = <0>;
 
41
                cell-index = <1>;
 
42
                compatible = "fsl,mpc8544-i2c", "fsl-i2c";
 
43
                reg = <0x3100 0x100>;
 
44
                interrupts = <43 2>;
 
45
                interrupt-parent = <&mpic>;
 
46
                clock-frequency = <400000>;
 
47
        };
 
48