mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-11 15:14:03 +08:00
b237866848
Add device tree probe support for i2c-mxs driver. So far, it's only been tested on imx28. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Wolfram Sang <w.sang@pengutronix.de>
17 lines
371 B
Plaintext
17 lines
371 B
Plaintext
* Freescale MXS Inter IC (I2C) Controller
|
|
|
|
Required properties:
|
|
- compatible: Should be "fsl,<chip>-i2c"
|
|
- reg: Should contain registers location and length
|
|
- interrupts: Should contain ERROR and DMA interrupts
|
|
|
|
Examples:
|
|
|
|
i2c0: i2c@80058000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "fsl,imx28-i2c";
|
|
reg = <0x80058000 2000>;
|
|
interrupts = <111 68>;
|
|
};
|