summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/ata/brcm,sata-brcm.txt
blob: b9ae4ce4a0a064a2aa0e3ef7a62201cb5efb677c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
* Broadcom SATA3 AHCI Controller

SATA nodes are defined to describe on-chip Serial ATA controllers.
Each SATA controller should have its own node.

Required properties:
- compatible         : should be one or more of
			"brcm,bcm7216-ahci"
			"brcm,bcm7425-ahci"
			"brcm,bcm7445-ahci"
			"brcm,bcm-nsp-ahci"
			"brcm,sata3-ahci"
			"brcm,bcm63138-ahci"
- reg                : register mappings for AHCI and SATA_TOP_CTRL
- reg-names          : "ahci" and "top-ctrl"
- interrupts         : interrupt mapping for SATA IRQ

Optional properties:

- reset: for "brcm,bcm7216-ahci" must be a valid reset phandle
  pointing to the RESCAL reset controller provider node.
- reset-names: for "brcm,bcm7216-ahci", must be "rescal".

Also see ahci-platform.txt.

Example:

	sata@f045a000 {
		compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci";
		reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>;
		reg-names = "ahci", "top-ctrl";
		interrupts = <0 30 0>;
		#address-cells = <1>;
		#size-cells = <0>;

		sata0: sata-port@0 {
			reg = <0>;
			phys = <&sata_phy 0>;
		};

		sata1: sata-port@1 {
			reg = <1>;
			phys = <&sata_phy 1>;
		};
	};