-
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.
ATA: sata_mv: Add device tree support
Add support for instantiating this driver from device tree, and add the necassary DT information to the kirkwood.dtsi file. This is based on previous work by Michael Walle and Jason Cooper. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Josh Coombs <josh.coombs@gmail.com>
- Loading branch information
Andrew Lunn
committed
Jul 27, 2012
1 parent
1e7bad0
commit 97b414e
Showing
4 changed files
with
53 additions
and
13 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 @@ | ||
* Marvell Orion SATA | ||
|
||
Required Properties: | ||
- compatibility : "marvell,orion-sata" | ||
- reg : Address range of controller | ||
- interrupts : Interrupt controller is using | ||
- nr-ports : Number of SATA ports in use. | ||
|
||
Example: | ||
|
||
sata@80000 { | ||
compatible = "marvell,orion-sata"; | ||
reg = <0x80000 0x5000>; | ||
interrupts = <21>; | ||
nr-ports = <2>; | ||
} |
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
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
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