18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci *  BSD LICENSE
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci *  Copyright(c) 2016-2017 Broadcom.  All rights reserved.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci *  Redistribution and use in source and binary forms, with or without
78c2ecf20Sopenharmony_ci *  modification, are permitted provided that the following conditions
88c2ecf20Sopenharmony_ci *  are met:
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci *    * Redistributions of source code must retain the above copyright
118c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer.
128c2ecf20Sopenharmony_ci *    * Redistributions in binary form must reproduce the above copyright
138c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer in
148c2ecf20Sopenharmony_ci *      the documentation and/or other materials provided with the
158c2ecf20Sopenharmony_ci *      distribution.
168c2ecf20Sopenharmony_ci *    * Neither the name of Broadcom nor the names of its
178c2ecf20Sopenharmony_ci *      contributors may be used to endorse or promote products derived
188c2ecf20Sopenharmony_ci *      from this software without specific prior written permission.
198c2ecf20Sopenharmony_ci *
208c2ecf20Sopenharmony_ci *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
218c2ecf20Sopenharmony_ci *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
228c2ecf20Sopenharmony_ci *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
238c2ecf20Sopenharmony_ci *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
248c2ecf20Sopenharmony_ci *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
258c2ecf20Sopenharmony_ci *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
268c2ecf20Sopenharmony_ci *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
278c2ecf20Sopenharmony_ci *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
288c2ecf20Sopenharmony_ci *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
298c2ecf20Sopenharmony_ci *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
308c2ecf20Sopenharmony_ci *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
318c2ecf20Sopenharmony_ci */
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	sata {
348c2ecf20Sopenharmony_ci		compatible = "simple-bus";
358c2ecf20Sopenharmony_ci		#address-cells = <1>;
368c2ecf20Sopenharmony_ci		#size-cells = <1>;
378c2ecf20Sopenharmony_ci		ranges = <0x0 0x0 0x67d00000 0x00800000>;
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci		sata0: ahci@0 {
408c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
418c2ecf20Sopenharmony_ci			reg = <0x00000000 0x1000>;
428c2ecf20Sopenharmony_ci			reg-names = "ahci";
438c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>;
448c2ecf20Sopenharmony_ci			#address-cells = <1>;
458c2ecf20Sopenharmony_ci			#size-cells = <0>;
468c2ecf20Sopenharmony_ci			status = "disabled";
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci			sata0_port0: sata-port@0 {
498c2ecf20Sopenharmony_ci				reg = <0>;
508c2ecf20Sopenharmony_ci				phys = <&sata0_phy0>;
518c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
528c2ecf20Sopenharmony_ci			};
538c2ecf20Sopenharmony_ci		};
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci		sata_phy0: sata_phy@2100 {
568c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
578c2ecf20Sopenharmony_ci			reg = <0x00002100 0x1000>;
588c2ecf20Sopenharmony_ci			reg-names = "phy";
598c2ecf20Sopenharmony_ci			#address-cells = <1>;
608c2ecf20Sopenharmony_ci			#size-cells = <0>;
618c2ecf20Sopenharmony_ci			status = "disabled";
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci			sata0_phy0: sata-phy@0 {
648c2ecf20Sopenharmony_ci				reg = <0>;
658c2ecf20Sopenharmony_ci				#phy-cells = <0>;
668c2ecf20Sopenharmony_ci			};
678c2ecf20Sopenharmony_ci		};
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci		sata1: ahci@10000 {
708c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
718c2ecf20Sopenharmony_ci			reg = <0x00010000 0x1000>;
728c2ecf20Sopenharmony_ci			reg-names = "ahci";
738c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>;
748c2ecf20Sopenharmony_ci			#address-cells = <1>;
758c2ecf20Sopenharmony_ci			#size-cells = <0>;
768c2ecf20Sopenharmony_ci			status = "disabled";
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ci			sata1_port0: sata-port@0 {
798c2ecf20Sopenharmony_ci				reg = <0>;
808c2ecf20Sopenharmony_ci				phys = <&sata1_phy0>;
818c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
828c2ecf20Sopenharmony_ci			};
838c2ecf20Sopenharmony_ci		};
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ci		sata_phy1: sata_phy@12100 {
868c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
878c2ecf20Sopenharmony_ci			reg = <0x00012100 0x1000>;
888c2ecf20Sopenharmony_ci			reg-names = "phy";
898c2ecf20Sopenharmony_ci			#address-cells = <1>;
908c2ecf20Sopenharmony_ci			#size-cells = <0>;
918c2ecf20Sopenharmony_ci			status = "disabled";
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci			sata1_phy0: sata-phy@0 {
948c2ecf20Sopenharmony_ci				reg = <0>;
958c2ecf20Sopenharmony_ci				#phy-cells = <0>;
968c2ecf20Sopenharmony_ci			};
978c2ecf20Sopenharmony_ci		};
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ci		sata2: ahci@20000 {
1008c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
1018c2ecf20Sopenharmony_ci			reg = <0x00020000 0x1000>;
1028c2ecf20Sopenharmony_ci			reg-names = "ahci";
1038c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>;
1048c2ecf20Sopenharmony_ci			#address-cells = <1>;
1058c2ecf20Sopenharmony_ci			#size-cells = <0>;
1068c2ecf20Sopenharmony_ci			status = "disabled";
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci			sata2_port0: sata-port@0 {
1098c2ecf20Sopenharmony_ci				reg = <0>;
1108c2ecf20Sopenharmony_ci				phys = <&sata2_phy0>;
1118c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
1128c2ecf20Sopenharmony_ci			};
1138c2ecf20Sopenharmony_ci		};
1148c2ecf20Sopenharmony_ci
1158c2ecf20Sopenharmony_ci		sata_phy2: sata_phy@22100 {
1168c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
1178c2ecf20Sopenharmony_ci			reg = <0x00022100 0x1000>;
1188c2ecf20Sopenharmony_ci			reg-names = "phy";
1198c2ecf20Sopenharmony_ci			#address-cells = <1>;
1208c2ecf20Sopenharmony_ci			#size-cells = <0>;
1218c2ecf20Sopenharmony_ci			status = "disabled";
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_ci			sata2_phy0: sata-phy@0 {
1248c2ecf20Sopenharmony_ci				reg = <0>;
1258c2ecf20Sopenharmony_ci				#phy-cells = <0>;
1268c2ecf20Sopenharmony_ci			};
1278c2ecf20Sopenharmony_ci		};
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ci		sata3: ahci@30000 {
1308c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
1318c2ecf20Sopenharmony_ci			reg = <0x00030000 0x1000>;
1328c2ecf20Sopenharmony_ci			reg-names = "ahci";
1338c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
1348c2ecf20Sopenharmony_ci			#address-cells = <1>;
1358c2ecf20Sopenharmony_ci			#size-cells = <0>;
1368c2ecf20Sopenharmony_ci			status = "disabled";
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ci			sata3_port0: sata-port@0 {
1398c2ecf20Sopenharmony_ci				reg = <0>;
1408c2ecf20Sopenharmony_ci				phys = <&sata3_phy0>;
1418c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
1428c2ecf20Sopenharmony_ci			};
1438c2ecf20Sopenharmony_ci		};
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ci		sata_phy3: sata_phy@32100 {
1468c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
1478c2ecf20Sopenharmony_ci			reg = <0x00032100 0x1000>;
1488c2ecf20Sopenharmony_ci			reg-names = "phy";
1498c2ecf20Sopenharmony_ci			#address-cells = <1>;
1508c2ecf20Sopenharmony_ci			#size-cells = <0>;
1518c2ecf20Sopenharmony_ci			status = "disabled";
1528c2ecf20Sopenharmony_ci
1538c2ecf20Sopenharmony_ci			sata3_phy0: sata-phy@0 {
1548c2ecf20Sopenharmony_ci				reg = <0>;
1558c2ecf20Sopenharmony_ci				#phy-cells = <0>;
1568c2ecf20Sopenharmony_ci			};
1578c2ecf20Sopenharmony_ci		};
1588c2ecf20Sopenharmony_ci
1598c2ecf20Sopenharmony_ci		sata4: ahci@100000 {
1608c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
1618c2ecf20Sopenharmony_ci			reg = <0x00100000 0x1000>;
1628c2ecf20Sopenharmony_ci			reg-names = "ahci";
1638c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>;
1648c2ecf20Sopenharmony_ci			#address-cells = <1>;
1658c2ecf20Sopenharmony_ci			#size-cells = <0>;
1668c2ecf20Sopenharmony_ci			status = "disabled";
1678c2ecf20Sopenharmony_ci
1688c2ecf20Sopenharmony_ci			sata4_port0: sata-port@0 {
1698c2ecf20Sopenharmony_ci				reg = <0>;
1708c2ecf20Sopenharmony_ci				phys = <&sata4_phy0>;
1718c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
1728c2ecf20Sopenharmony_ci			};
1738c2ecf20Sopenharmony_ci		};
1748c2ecf20Sopenharmony_ci
1758c2ecf20Sopenharmony_ci		sata_phy4: sata_phy@102100 {
1768c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
1778c2ecf20Sopenharmony_ci			reg = <0x00102100 0x1000>;
1788c2ecf20Sopenharmony_ci			reg-names = "phy";
1798c2ecf20Sopenharmony_ci			#address-cells = <1>;
1808c2ecf20Sopenharmony_ci			#size-cells = <0>;
1818c2ecf20Sopenharmony_ci			status = "disabled";
1828c2ecf20Sopenharmony_ci
1838c2ecf20Sopenharmony_ci			sata4_phy0: sata-phy@0 {
1848c2ecf20Sopenharmony_ci				reg = <0>;
1858c2ecf20Sopenharmony_ci				#phy-cells = <0>;
1868c2ecf20Sopenharmony_ci			};
1878c2ecf20Sopenharmony_ci		};
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ci		sata5: ahci@110000 {
1908c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
1918c2ecf20Sopenharmony_ci			reg = <0x00110000 0x1000>;
1928c2ecf20Sopenharmony_ci			reg-names = "ahci";
1938c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
1948c2ecf20Sopenharmony_ci			#address-cells = <1>;
1958c2ecf20Sopenharmony_ci			#size-cells = <0>;
1968c2ecf20Sopenharmony_ci			status = "disabled";
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_ci			sata5_port0: sata-port@0 {
1998c2ecf20Sopenharmony_ci				reg = <0>;
2008c2ecf20Sopenharmony_ci				phys = <&sata5_phy0>;
2018c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
2028c2ecf20Sopenharmony_ci			};
2038c2ecf20Sopenharmony_ci		};
2048c2ecf20Sopenharmony_ci
2058c2ecf20Sopenharmony_ci		sata_phy5: sata_phy@112100 {
2068c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
2078c2ecf20Sopenharmony_ci			reg = <0x00112100 0x1000>;
2088c2ecf20Sopenharmony_ci			reg-names = "phy";
2098c2ecf20Sopenharmony_ci			#address-cells = <1>;
2108c2ecf20Sopenharmony_ci			#size-cells = <0>;
2118c2ecf20Sopenharmony_ci			status = "disabled";
2128c2ecf20Sopenharmony_ci
2138c2ecf20Sopenharmony_ci			sata5_phy0: sata-phy@0 {
2148c2ecf20Sopenharmony_ci				reg = <0>;
2158c2ecf20Sopenharmony_ci				#phy-cells = <0>;
2168c2ecf20Sopenharmony_ci			};
2178c2ecf20Sopenharmony_ci		};
2188c2ecf20Sopenharmony_ci
2198c2ecf20Sopenharmony_ci		sata6: ahci@120000 {
2208c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
2218c2ecf20Sopenharmony_ci			reg = <0x00120000 0x1000>;
2228c2ecf20Sopenharmony_ci			reg-names = "ahci";
2238c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>;
2248c2ecf20Sopenharmony_ci			#address-cells = <1>;
2258c2ecf20Sopenharmony_ci			#size-cells = <0>;
2268c2ecf20Sopenharmony_ci			status = "disabled";
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ci			sata6_port0: sata-port@0 {
2298c2ecf20Sopenharmony_ci				reg = <0>;
2308c2ecf20Sopenharmony_ci				phys = <&sata6_phy0>;
2318c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
2328c2ecf20Sopenharmony_ci			};
2338c2ecf20Sopenharmony_ci		};
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_ci		sata_phy6: sata_phy@122100 {
2368c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
2378c2ecf20Sopenharmony_ci			reg = <0x00122100 0x1000>;
2388c2ecf20Sopenharmony_ci			reg-names = "phy";
2398c2ecf20Sopenharmony_ci			#address-cells = <1>;
2408c2ecf20Sopenharmony_ci			#size-cells = <0>;
2418c2ecf20Sopenharmony_ci			status = "disabled";
2428c2ecf20Sopenharmony_ci
2438c2ecf20Sopenharmony_ci			sata6_phy0: sata-phy@0 {
2448c2ecf20Sopenharmony_ci				reg = <0>;
2458c2ecf20Sopenharmony_ci				#phy-cells = <0>;
2468c2ecf20Sopenharmony_ci			};
2478c2ecf20Sopenharmony_ci		};
2488c2ecf20Sopenharmony_ci
2498c2ecf20Sopenharmony_ci		sata7: ahci@130000 {
2508c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-ahci", "generic-ahci";
2518c2ecf20Sopenharmony_ci			reg = <0x00130000 0x1000>;
2528c2ecf20Sopenharmony_ci			reg-names = "ahci";
2538c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
2548c2ecf20Sopenharmony_ci			#address-cells = <1>;
2558c2ecf20Sopenharmony_ci			#size-cells = <0>;
2568c2ecf20Sopenharmony_ci			status = "disabled";
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_ci			sata7_port0: sata-port@0 {
2598c2ecf20Sopenharmony_ci				reg = <0>;
2608c2ecf20Sopenharmony_ci				phys = <&sata7_phy0>;
2618c2ecf20Sopenharmony_ci				phy-names = "sata-phy";
2628c2ecf20Sopenharmony_ci			};
2638c2ecf20Sopenharmony_ci		};
2648c2ecf20Sopenharmony_ci
2658c2ecf20Sopenharmony_ci		sata_phy7: sata_phy@132100 {
2668c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sr-sata-phy";
2678c2ecf20Sopenharmony_ci			reg = <0x00132100 0x1000>;
2688c2ecf20Sopenharmony_ci			reg-names = "phy";
2698c2ecf20Sopenharmony_ci			#address-cells = <1>;
2708c2ecf20Sopenharmony_ci			#size-cells = <0>;
2718c2ecf20Sopenharmony_ci			status = "disabled";
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci			sata7_phy0: sata-phy@0 {
2748c2ecf20Sopenharmony_ci				reg = <0>;
2758c2ecf20Sopenharmony_ci				#phy-cells = <0>;
2768c2ecf20Sopenharmony_ci			};
2778c2ecf20Sopenharmony_ci		};
2788c2ecf20Sopenharmony_ci	};
279