Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b036556 authored by Tsahee Zidenberg's avatar Tsahee Zidenberg Committed by Arnd Bergmann
Browse files

ARM: dts: alpine: add internal pci



This patch adds device-tree entry for the internal pci bus on Alpine.
Alpine's on-chip devices appear as pci devices on this bus.

Signed-off-by: default avatarTsahee Zidenberg <tsahee@annapurnalabs.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 49faf809
Loading
Loading
Loading
Loading
+19 −0
Original line number Original line Diff line number Diff line
@@ -137,5 +137,24 @@
			reg-shift = <2>;
			reg-shift = <2>;
			reg-io-width = <4>;
			reg-io-width = <4>;
		};
		};

		/* Internal PCIe Controller */
		pcie-internal@0xfbc00000 {
			compatible = "pci-host-ecam-generic";
			device_type = "pci";
			#size-cells = <2>;
			#address-cells = <3>;
			#interrupt-cells = <1>;
			reg = <0x0 0xfbc00000 0x0 0x100000>;
			interrupt-map-mask = <0xf800 0 0 7>;
			/* Add legacy interrupts for SATA devices only */
			interrupt-map =	<0x4000 0 0 1 &gic 0 43 4>,
					<0x4800 0 0 1 &gic 0 44 4>;

			/* 32 bit non prefetchable memory space */
			ranges = <0x02000000 0x0 0xfe000000 0x0 0xfe000000 0x0 0x1000000>;

			bus-range = <0x00 0x00>;
		};
	};
	};
};
};