xref: /freebsd/sys/contrib/device-tree/Bindings/ata/exynos-sata.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Samsung AHCI SATA 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		: compatible list, contains "samsung,exynos5-sata"
8*c66ec88fSEmmanuel Vadot- interrupts		: <interrupt mapping for SATA IRQ>
9*c66ec88fSEmmanuel Vadot- reg			: <registers mapping>
10*c66ec88fSEmmanuel Vadot- samsung,sata-freq	: <frequency in MHz>
11*c66ec88fSEmmanuel Vadot- phys			: Must contain exactly one entry as specified
12*c66ec88fSEmmanuel Vadot			  in phy-bindings.txt
13*c66ec88fSEmmanuel Vadot- phy-names		: Must be "sata-phy"
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotOptional properties:
16*c66ec88fSEmmanuel Vadot- clocks		: Must contain an entry for each entry in clock-names.
17*c66ec88fSEmmanuel Vadot- clock-names		: Shall be "sata" for the external SATA bus clock,
18*c66ec88fSEmmanuel Vadot			  and "sclk_sata" for the internal controller clock.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotExample:
21*c66ec88fSEmmanuel Vadot	sata@122f0000 {
22*c66ec88fSEmmanuel Vadot		compatible = "snps,dwc-ahci";
23*c66ec88fSEmmanuel Vadot		samsung,sata-freq = <66>;
24*c66ec88fSEmmanuel Vadot		reg = <0x122f0000 0x1ff>;
25*c66ec88fSEmmanuel Vadot		interrupts = <0 115 0>;
26*c66ec88fSEmmanuel Vadot		clocks = <&clock 277>, <&clock 143>;
27*c66ec88fSEmmanuel Vadot		clock-names = "sata", "sclk_sata";
28*c66ec88fSEmmanuel Vadot		phys = <&sata_phy>;
29*c66ec88fSEmmanuel Vadot		phy-names = "sata-phy";
30*c66ec88fSEmmanuel Vadot	};
31