]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm64/boot/dts/broadcom/stingray/stingray-sata.dtsi
arm64: dts: correct SATA addresses for Stingray
[mirror_ubuntu-bionic-kernel.git] / arch / arm64 / boot / dts / broadcom / stingray / stingray-sata.dtsi
CommitLineData
344a2e51
SM
1/*
2 * BSD LICENSE
3 *
4 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
15 * distribution.
16 * * Neither the name of Broadcom nor the names of its
17 * contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33 sata {
34 compatible = "simple-bus";
35 #address-cells = <1>;
36 #size-cells = <1>;
37 ranges = <0x0 0x0 0x67d00000 0x00800000>;
38
820ce6bf 39 sata0: ahci@0 {
344a2e51 40 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 41 reg = <0x00000000 0x1000>;
344a2e51 42 reg-names = "ahci";
820ce6bf 43 interrupts = <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
44 #address-cells = <1>;
45 #size-cells = <0>;
46 status = "disabled";
47
48 sata0_port0: sata-port@0 {
49 reg = <0>;
50 phys = <&sata0_phy0>;
51 phy-names = "sata-phy";
52 };
53 };
54
820ce6bf 55 sata_phy0: sata_phy@2100 {
344a2e51 56 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 57 reg = <0x00002100 0x1000>;
344a2e51
SM
58 reg-names = "phy";
59 #address-cells = <1>;
60 #size-cells = <0>;
61 status = "disabled";
62
63 sata0_phy0: sata-phy@0 {
64 reg = <0>;
65 #phy-cells = <0>;
66 };
67 };
68
820ce6bf 69 sata1: ahci@10000 {
344a2e51 70 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 71 reg = <0x00010000 0x1000>;
344a2e51 72 reg-names = "ahci";
820ce6bf 73 interrupts = <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
74 #address-cells = <1>;
75 #size-cells = <0>;
76 status = "disabled";
77
78 sata1_port0: sata-port@0 {
79 reg = <0>;
80 phys = <&sata1_phy0>;
81 phy-names = "sata-phy";
82 };
83 };
84
820ce6bf 85 sata_phy1: sata_phy@12100 {
344a2e51 86 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 87 reg = <0x00012100 0x1000>;
344a2e51
SM
88 reg-names = "phy";
89 #address-cells = <1>;
90 #size-cells = <0>;
91 status = "disabled";
92
93 sata1_phy0: sata-phy@0 {
94 reg = <0>;
95 #phy-cells = <0>;
96 };
97 };
98
820ce6bf 99 sata2: ahci@20000 {
344a2e51 100 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 101 reg = <0x00020000 0x1000>;
344a2e51 102 reg-names = "ahci";
820ce6bf 103 interrupts = <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
104 #address-cells = <1>;
105 #size-cells = <0>;
106 status = "disabled";
107
108 sata2_port0: sata-port@0 {
109 reg = <0>;
110 phys = <&sata2_phy0>;
111 phy-names = "sata-phy";
112 };
113 };
114
820ce6bf 115 sata_phy2: sata_phy@22100 {
344a2e51 116 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 117 reg = <0x00022100 0x1000>;
344a2e51
SM
118 reg-names = "phy";
119 #address-cells = <1>;
120 #size-cells = <0>;
121 status = "disabled";
122
123 sata2_phy0: sata-phy@0 {
124 reg = <0>;
125 #phy-cells = <0>;
126 };
127 };
128
820ce6bf 129 sata3: ahci@30000 {
344a2e51 130 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 131 reg = <0x00030000 0x1000>;
344a2e51 132 reg-names = "ahci";
820ce6bf 133 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
134 #address-cells = <1>;
135 #size-cells = <0>;
136 status = "disabled";
137
138 sata3_port0: sata-port@0 {
139 reg = <0>;
140 phys = <&sata3_phy0>;
141 phy-names = "sata-phy";
142 };
143 };
144
820ce6bf 145 sata_phy3: sata_phy@32100 {
344a2e51 146 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 147 reg = <0x00032100 0x1000>;
344a2e51
SM
148 reg-names = "phy";
149 #address-cells = <1>;
150 #size-cells = <0>;
151 status = "disabled";
152
153 sata3_phy0: sata-phy@0 {
154 reg = <0>;
155 #phy-cells = <0>;
156 };
157 };
158
820ce6bf 159 sata4: ahci@100000 {
344a2e51 160 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 161 reg = <0x00100000 0x1000>;
344a2e51 162 reg-names = "ahci";
820ce6bf 163 interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
164 #address-cells = <1>;
165 #size-cells = <0>;
166 status = "disabled";
167
168 sata4_port0: sata-port@0 {
169 reg = <0>;
170 phys = <&sata4_phy0>;
171 phy-names = "sata-phy";
172 };
173 };
174
820ce6bf 175 sata_phy4: sata_phy@102100 {
344a2e51 176 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 177 reg = <0x00102100 0x1000>;
344a2e51
SM
178 reg-names = "phy";
179 #address-cells = <1>;
180 #size-cells = <0>;
181 status = "disabled";
182
183 sata4_phy0: sata-phy@0 {
184 reg = <0>;
185 #phy-cells = <0>;
186 };
187 };
188
820ce6bf 189 sata5: ahci@110000 {
344a2e51 190 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 191 reg = <0x00110000 0x1000>;
344a2e51 192 reg-names = "ahci";
820ce6bf 193 interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
194 #address-cells = <1>;
195 #size-cells = <0>;
196 status = "disabled";
197
198 sata5_port0: sata-port@0 {
199 reg = <0>;
200 phys = <&sata5_phy0>;
201 phy-names = "sata-phy";
202 };
203 };
204
820ce6bf 205 sata_phy5: sata_phy@112100 {
344a2e51 206 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 207 reg = <0x00112100 0x1000>;
344a2e51
SM
208 reg-names = "phy";
209 #address-cells = <1>;
210 #size-cells = <0>;
211 status = "disabled";
212
213 sata5_phy0: sata-phy@0 {
214 reg = <0>;
215 #phy-cells = <0>;
216 };
217 };
218
820ce6bf 219 sata6: ahci@120000 {
344a2e51 220 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 221 reg = <0x00120000 0x1000>;
344a2e51 222 reg-names = "ahci";
820ce6bf 223 interrupts = <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
224 #address-cells = <1>;
225 #size-cells = <0>;
226 status = "disabled";
227
228 sata6_port0: sata-port@0 {
229 reg = <0>;
230 phys = <&sata6_phy0>;
231 phy-names = "sata-phy";
232 };
233 };
234
820ce6bf 235 sata_phy6: sata_phy@122100 {
344a2e51 236 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 237 reg = <0x00122100 0x1000>;
344a2e51
SM
238 reg-names = "phy";
239 #address-cells = <1>;
240 #size-cells = <0>;
241 status = "disabled";
242
243 sata6_phy0: sata-phy@0 {
244 reg = <0>;
245 #phy-cells = <0>;
246 };
247 };
248
820ce6bf 249 sata7: ahci@130000 {
344a2e51 250 compatible = "brcm,iproc-ahci", "generic-ahci";
820ce6bf 251 reg = <0x00130000 0x1000>;
344a2e51 252 reg-names = "ahci";
820ce6bf 253 interrupts = <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
344a2e51
SM
254 #address-cells = <1>;
255 #size-cells = <0>;
256 status = "disabled";
257
258 sata7_port0: sata-port@0 {
259 reg = <0>;
260 phys = <&sata7_phy0>;
261 phy-names = "sata-phy";
262 };
263 };
264
820ce6bf 265 sata_phy7: sata_phy@132100 {
344a2e51 266 compatible = "brcm,iproc-sr-sata-phy";
820ce6bf 267 reg = <0x00132100 0x1000>;
344a2e51
SM
268 reg-names = "phy";
269 #address-cells = <1>;
270 #size-cells = <0>;
271 status = "disabled";
272
273 sata7_phy0: sata-phy@0 {
274 reg = <0>;
275 #phy-cells = <0>;
276 };
277 };
278 };