xref: /freebsd/sys/contrib/device-tree/Bindings/ata/brcm,sata-brcm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Broadcom SATA3 AHCI Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotSATA nodes are defined to describe on-chip Serial ATA controllers.
4*c66ec88fSEmmanuel VadotEach SATA controller should have its own node.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible         : should be one or more of
8*c66ec88fSEmmanuel Vadot			"brcm,bcm7216-ahci"
9*c66ec88fSEmmanuel Vadot			"brcm,bcm7425-ahci"
10*c66ec88fSEmmanuel Vadot			"brcm,bcm7445-ahci"
11*c66ec88fSEmmanuel Vadot			"brcm,bcm-nsp-ahci"
12*c66ec88fSEmmanuel Vadot			"brcm,sata3-ahci"
13*c66ec88fSEmmanuel Vadot			"brcm,bcm63138-ahci"
14*c66ec88fSEmmanuel Vadot- reg                : register mappings for AHCI and SATA_TOP_CTRL
15*c66ec88fSEmmanuel Vadot- reg-names          : "ahci" and "top-ctrl"
16*c66ec88fSEmmanuel Vadot- interrupts         : interrupt mapping for SATA IRQ
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotOptional properties:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot- reset: for "brcm,bcm7216-ahci" must be a valid reset phandle
21*c66ec88fSEmmanuel Vadot  pointing to the RESCAL reset controller provider node.
22*c66ec88fSEmmanuel Vadot- reset-names: for "brcm,bcm7216-ahci", must be "rescal".
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotAlso see ahci-platform.txt.
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotExample:
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	sata@f045a000 {
29*c66ec88fSEmmanuel Vadot		compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci";
30*c66ec88fSEmmanuel Vadot		reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>;
31*c66ec88fSEmmanuel Vadot		reg-names = "ahci", "top-ctrl";
32*c66ec88fSEmmanuel Vadot		interrupts = <0 30 0>;
33*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
34*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
35*c66ec88fSEmmanuel Vadot
36*c66ec88fSEmmanuel Vadot		sata0: sata-port@0 {
37*c66ec88fSEmmanuel Vadot			reg = <0>;
38*c66ec88fSEmmanuel Vadot			phys = <&sata_phy 0>;
39*c66ec88fSEmmanuel Vadot		};
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot		sata1: sata-port@1 {
42*c66ec88fSEmmanuel Vadot			reg = <1>;
43*c66ec88fSEmmanuel Vadot			phys = <&sata_phy 1>;
44*c66ec88fSEmmanuel Vadot		};
45*c66ec88fSEmmanuel Vadot	};
46