-
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: at91: add dt support to i2c-at91
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Nikolaus Voss <n.voss@weinmann.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
- Loading branch information
Ludovic Desroches
authored and
Wolfram Sang
committed
Sep 12, 2012
1 parent
94e7346
commit 70d46a2
Showing
2 changed files
with
79 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,30 @@ | ||
I2C for Atmel platforms | ||
|
||
Required properties : | ||
- compatible : Must be "atmel,at91rm9200-i2c", "atmel,at91sam9261-i2c", | ||
"atmel,at91sam9260-i2c", "atmel,at91sam9g20-i2c", "atmel,at91sam9g10-i2c" | ||
or "atmel,at91sam9x5-i2c" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: interrupt number to the cpu. | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
|
||
Optional properties: | ||
- Child nodes conforming to i2c bus binding | ||
|
||
Examples : | ||
|
||
i2c0: i2c@fff84000 { | ||
compatible = "atmel,at91sam9g20-i2c"; | ||
reg = <0xfff84000 0x100>; | ||
interrupts = <12 4 6>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
24c512@50 { | ||
compatible = "24c512"; | ||
reg = <0x50>; | ||
pagesize = <128>; | ||
} | ||
} |
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