Commit | Line | Data |
---|---|---|
5f098a3e | 1 | * AHCI SATA Controller |
02aac316 RH |
2 | |
3 | SATA nodes are defined to describe on-chip Serial ATA controllers. | |
4 | Each SATA controller should have its own node. | |
5 | ||
6 | Required properties: | |
5f098a3e | 7 | - compatible : compatible list, contains "calxeda,hb-ahci" or "snps,spear-ahci" |
02aac316 RH |
8 | - interrupts : <interrupt mapping for SATA IRQ> |
9 | - reg : <registers mapping> | |
10 | ||
8996b89d ML |
11 | Optional properties: |
12 | - calxeda,port-phys: phandle-combophy and lane assignment, which maps each | |
13 | SATA port to a combophy and a lane within that | |
14 | combophy | |
d50b110f ML |
15 | - calxeda,sgpio-gpio: phandle-gpio bank, bit offset, and default on or off, |
16 | which indicates that the driver supports SGPIO | |
17 | indicator lights using the indicated GPIOs | |
18 | - calxeda,led-order : a u32 array that map port numbers to offsets within the | |
19 | SGPIO bitstream. | |
1dc737c4 | 20 | - dma-coherent : Present if dma operations are coherent |
8996b89d | 21 | |
02aac316 RH |
22 | Example: |
23 | sata@ffe08000 { | |
24 | compatible = "calxeda,hb-ahci"; | |
25 | reg = <0xffe08000 0x1000>; | |
26 | interrupts = <115>; | |
8996b89d ML |
27 | calxeda,port-phys = <&combophy5 0 &combophy0 0 &combophy0 1 |
28 | &combophy0 2 &combophy0 3>; | |
29 | ||
02aac316 | 30 | }; |