aboutsummaryrefslogtreecommitdiff
path: root/Documentation/powerpc/dts-bindings/fsl/i2c.txt
blob: d0ab33e21fe6a5c918f77d251025e335010700aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
* I2C

Required properties :

 - device_type : Should be "i2c"
 - reg : Offset and length of the register set for the device

Recommended properties :

 - compatible : Should be "fsl-i2c" for parts compatible with
   Freescale I2C specifications.
 - interrupts : <a b> where a is the interrupt number and b is a
   field that represents an encoding of the sense and level
   information for the interrupt.  This should be encoded based on
   the information in section 2) depending on the type of interrupt
   controller you have.
 - interrupt-parent : the phandle for the interrupt controller that
   services interrupts for this device.
 - dfsrr : boolean; if defined, indicates that this I2C device has
   a digital filter sampling rate register
 - fsl5200-clocking : boolean; if defined, indicated that this device
   uses the FSL 5200 clocking mechanism.

Example :
	i2c@3000 {
		interrupt-parent = <40000>;
		interrupts = <1b 3>;
		reg = <3000 18>;
		device_type = "i2c";
		compatible  = "fsl-i2c";
		dfsrr;
	};