xref: /freebsd/sys/contrib/device-tree/src/arm64/marvell/armada-7040.dtsi (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Copyright (C) 2016 Marvell Technology Group Ltd.
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Device Tree file for the Armada 7040 SoC, made of an AP806 Quad and
6*c66ec88fSEmmanuel Vadot * one CP110.
7*c66ec88fSEmmanuel Vadot */
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot#include "armada-ap806-quad.dtsi"
10*c66ec88fSEmmanuel Vadot#include "armada-70x0.dtsi"
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot/ {
13*c66ec88fSEmmanuel Vadot	model = "Marvell Armada 7040";
14*c66ec88fSEmmanuel Vadot	compatible = "marvell,armada7040", "marvell,armada-ap806-quad",
15*c66ec88fSEmmanuel Vadot		     "marvell,armada-ap806";
16*c66ec88fSEmmanuel Vadot};
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot&cp0_pcie0 {
19*c66ec88fSEmmanuel Vadot	iommu-map =
20*c66ec88fSEmmanuel Vadot		<0x0   &smmu 0x480 0x20>,
21*c66ec88fSEmmanuel Vadot		<0x100 &smmu 0x4a0 0x20>,
22*c66ec88fSEmmanuel Vadot		<0x200 &smmu 0x4c0 0x20>;
23*c66ec88fSEmmanuel Vadot	iommu-map-mask = <0x031f>;
24*c66ec88fSEmmanuel Vadot};
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot&cp0_sata0 {
27*c66ec88fSEmmanuel Vadot	iommus = <&smmu 0x444>;
28*c66ec88fSEmmanuel Vadot};
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot&cp0_sdhci0 {
31*c66ec88fSEmmanuel Vadot	iommus = <&smmu 0x445>;
32*c66ec88fSEmmanuel Vadot};
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot&cp0_usb3_0 {
35*c66ec88fSEmmanuel Vadot	iommus = <&smmu 0x440>;
36*c66ec88fSEmmanuel Vadot};
37*c66ec88fSEmmanuel Vadot
38*c66ec88fSEmmanuel Vadot&cp0_usb3_1 {
39*c66ec88fSEmmanuel Vadot	iommus = <&smmu 0x441>;
40*c66ec88fSEmmanuel Vadot};
41