-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: mxs: add device tree probe support
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>
- Loading branch information
Shawn Guo
committed
May 13, 2012
1 parent
35d2304
commit b237866
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
* 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>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters