18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0 or BSD-3-Clause)
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *Copyright(c) 2018 Broadcom
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cipcie8: pcie@60400000 {
78c2ecf20Sopenharmony_ci	compatible = "brcm,iproc-pcie-paxc-v2";
88c2ecf20Sopenharmony_ci	reg = <0 0x60400000 0 0x1000>;
98c2ecf20Sopenharmony_ci	linux,pci-domain = <8>;
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci	bus-range = <0x0 0x1>;
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci	#address-cells = <3>;
148c2ecf20Sopenharmony_ci	#size-cells = <2>;
158c2ecf20Sopenharmony_ci	device_type = "pci";
168c2ecf20Sopenharmony_ci	ranges = <0x83000000 0 0x10000000 0 0x10000000 0 0x20000000>;
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	dma-coherent;
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci	msi-map = <0x100 &gic_its 0x2000 0x1>, /* PF0 */
218c2ecf20Sopenharmony_ci		  <0x108 &gic_its 0x2040 0x8>, /* PF0-VF0-7 */
228c2ecf20Sopenharmony_ci		  <0x101 &gic_its 0x2080 0x1>, /* PF1 */
238c2ecf20Sopenharmony_ci		  <0x110 &gic_its 0x20c8 0x8>, /* PF1-VF8-15 */
248c2ecf20Sopenharmony_ci		  <0x102 &gic_its 0x2100 0x1>, /* PF2 */
258c2ecf20Sopenharmony_ci		  <0x118 &gic_its 0x2150 0x8>, /* PF2-VF16-23 */
268c2ecf20Sopenharmony_ci		  <0x103 &gic_its 0x2180 0x1>, /* PF3 */
278c2ecf20Sopenharmony_ci		  <0x120 &gic_its 0x21d8 0x8>, /* PF3-VF24-31 */
288c2ecf20Sopenharmony_ci		  <0x104 &gic_its 0x2200 0x1>, /* PF4 */
298c2ecf20Sopenharmony_ci		  <0x128 &gic_its 0x2260 0x8>, /* PF4-VF32-39 */
308c2ecf20Sopenharmony_ci		  <0x105 &gic_its 0x2280 0x1>, /* PF5 */
318c2ecf20Sopenharmony_ci		  <0x130 &gic_its 0x22e8 0x8>, /* PF5-VF40-47 */
328c2ecf20Sopenharmony_ci		  <0x106 &gic_its 0x2300 0x1>, /* PF6 */
338c2ecf20Sopenharmony_ci		  <0x138 &gic_its 0x2370 0x8>, /* PF6-VF48-55 */
348c2ecf20Sopenharmony_ci		  <0x107 &gic_its 0x2380 0x1>, /* PF7 */
358c2ecf20Sopenharmony_ci		  <0x140 &gic_its 0x23f8 0x8>; /* PF7-VF56-63 */
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci	phys = <&pcie_phy 8>;
388c2ecf20Sopenharmony_ci	phy-names = "pcie-phy";
398c2ecf20Sopenharmony_ci};
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_cipcie-ss {
428c2ecf20Sopenharmony_ci	compatible = "simple-bus";
438c2ecf20Sopenharmony_ci	#address-cells = <1>;
448c2ecf20Sopenharmony_ci	#size-cells = <1>;
458c2ecf20Sopenharmony_ci	ranges = <0x0 0x0 0x40000000 0x800>;
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci	pcie_phy: phy@0 {
488c2ecf20Sopenharmony_ci		compatible = "brcm,sr-pcie-phy";
498c2ecf20Sopenharmony_ci		reg = <0x0 0x200>;
508c2ecf20Sopenharmony_ci		brcm,sr-cdru = <&cdru>;
518c2ecf20Sopenharmony_ci		brcm,sr-mhb = <&mhb>;
528c2ecf20Sopenharmony_ci		#phy-cells = <1>;
538c2ecf20Sopenharmony_ci	};
548c2ecf20Sopenharmony_ci};
55