summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/ata/sata_rcar.txt
blob: a2fbdc91570d0f7c28dea2adbe31f30e965003c8 (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
* Renesas R-Car SATA

Required properties:
- compatible		: should contain one or more of the following:
			  - "renesas,sata-r8a774b1" for RZ/G2N
			  - "renesas,sata-r8a7779" for R-Car H1
			  - "renesas,sata-r8a7790-es1" for R-Car H2 ES1
			  - "renesas,sata-r8a7790" for R-Car H2 other than ES1
			  - "renesas,sata-r8a7791" for R-Car M2-W
			  - "renesas,sata-r8a7793" for R-Car M2-N
			  - "renesas,sata-r8a7795" for R-Car H3
			  - "renesas,sata-r8a77965" for R-Car M3-N
			  - "renesas,rcar-gen2-sata" for a generic R-Car Gen2
			     compatible device
			  - "renesas,rcar-gen3-sata" for a generic R-Car Gen3 or
			     RZ/G2 compatible device
			  - "renesas,rcar-sata" is deprecated

			  When compatible with the generic version nodes
			  must list the SoC-specific version corresponding
			  to the platform first followed by the generic
			  version.

- reg			: address and length of the SATA registers;
- interrupts		: must consist of one interrupt specifier.
- clocks		: must contain a reference to the functional clock.

Example:

sata0: sata@ee300000 {
	compatible = "renesas,sata-r8a7791", "renesas,rcar-gen2-sata";
	reg = <0 0xee300000 0 0x2000>;
	interrupt-parent = <&gic>;
	interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
	clocks = <&mstp8_clks R8A7791_CLK_SATA0>;
};