xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-mxs.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1* Freescale MXS Inter IC (I2C) Controller
2
3Required properties:
4- compatible: Should be "fsl,<chip>-i2c"
5- reg: Should contain registers location and length
6- interrupts: Should contain ERROR interrupt number
7- clock-frequency: Desired I2C bus clock frequency in Hz.
8                   Only 100000Hz and 400000Hz modes are supported.
9- dmas: DMA specifier, consisting of a phandle to DMA controller node
10  and I2C DMA channel ID.
11  Refer to dma.txt and fsl-mxs-dma.txt for details.
12- dma-names: Must be "rx-tx".
13
14Examples:
15
16i2c0: i2c@80058000 {
17	#address-cells = <1>;
18	#size-cells = <0>;
19	compatible = "fsl,imx28-i2c";
20	reg = <0x80058000 2000>;
21	interrupts = <111>;
22	clock-frequency = <100000>;
23	dmas = <&dma_apbx 6>;
24	dma-names = "rx-tx";
25};
26