-
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.
This adds dt support to the at25 eeprom driver. Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com> Tested-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
Alexandre Pereira da Silva
authored and
Greg Kroah-Hartman
committed
Jun 15, 2012
1 parent
98dcd59
commit 002176d
Showing
2 changed files
with
66 additions
and
16 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,21 @@ | ||
Atmel AT25 eeprom | ||
|
||
Required properties: | ||
- compatible : "atmel,at25". | ||
- reg : chip select number | ||
- spi-max-frequency : max spi frequency to use | ||
|
||
- at25,byte-len : total eeprom size in bytes | ||
- at25,addr-mode : addr-mode flags, as defined in include/linux/spi/eeprom.h | ||
- at25,page-size : size of the eeprom page | ||
|
||
Examples: | ||
at25@0 { | ||
compatible = "atmel,at25"; | ||
reg = <0> | ||
spi-max-frequency = <5000000>; | ||
|
||
at25,byte-len = <0x8000>; | ||
at25,addr-mode = <2>; | ||
at25,page-size = <64>; | ||
}; |
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