Yendapally Reddy Dhananjaya Reddy | dc5a78e | 2016-06-16 09:53:29 -0400 | [diff] [blame] | 1 | * Broadcom SATA3 AHCI Controller |
Brian Norris | e3e694f | 2015-05-12 16:28:19 -0700 | [diff] [blame] | 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: |
Jaedon Shin | 1980eb9 | 2015-11-26 11:56:29 +0900 | [diff] [blame] | 7 | - compatible : should be one or more of |
Florian Fainelli | 52fa562 | 2019-12-10 10:53:50 -0800 | [diff] [blame] | 8 | "brcm,bcm7216-ahci" |
Yendapally Reddy Dhananjaya Reddy | dc5a78e | 2016-06-16 09:53:29 -0400 | [diff] [blame] | 9 | "brcm,bcm7425-ahci" |
| 10 | "brcm,bcm7445-ahci" |
Yendapally Reddy Dhananjaya Reddy | 5724ad1 | 2016-06-16 09:53:30 -0400 | [diff] [blame] | 11 | "brcm,bcm-nsp-ahci" |
Yendapally Reddy Dhananjaya Reddy | dc5a78e | 2016-06-16 09:53:29 -0400 | [diff] [blame] | 12 | "brcm,sata3-ahci" |
Florian Fainelli | d6dc71d1 | 2018-10-01 10:32:59 -0700 | [diff] [blame] | 13 | "brcm,bcm63138-ahci" |
Brian Norris | e3e694f | 2015-05-12 16:28:19 -0700 | [diff] [blame] | 14 | - reg : register mappings for AHCI and SATA_TOP_CTRL |
| 15 | - reg-names : "ahci" and "top-ctrl" |
| 16 | - interrupts : interrupt mapping for SATA IRQ |
| 17 | |
Florian Fainelli | 52fa562 | 2019-12-10 10:53:50 -0800 | [diff] [blame] | 18 | Optional properties: |
| 19 | |
| 20 | - reset: for "brcm,bcm7216-ahci" must be a valid reset phandle |
| 21 | pointing to the RESCAL reset controller provider node. |
| 22 | - reset-names: for "brcm,bcm7216-ahci", must be "rescal". |
| 23 | |
Brian Norris | e3e694f | 2015-05-12 16:28:19 -0700 | [diff] [blame] | 24 | Also see ahci-platform.txt. |
| 25 | |
| 26 | Example: |
| 27 | |
| 28 | sata@f045a000 { |
| 29 | compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci"; |
| 30 | reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>; |
| 31 | reg-names = "ahci", "top-ctrl"; |
| 32 | interrupts = <0 30 0>; |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
| 35 | |
| 36 | sata0: sata-port@0 { |
| 37 | reg = <0>; |
| 38 | phys = <&sata_phy 0>; |
| 39 | }; |
| 40 | |
| 41 | sata1: sata-port@1 { |
| 42 | reg = <1>; |
| 43 | phys = <&sata_phy 1>; |
| 44 | }; |
| 45 | }; |