| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (C) 2016 Marvell Technology Group Ltd. |
| 4 |
* |
| 5 |
* Device Tree file for the Armada 8040 SoC, made of an AP806 Quad and |
| 6 |
* two CP110. |
| 7 |
*/ |
| 8 |
|
| 9 |
#include "armada-ap806-quad.dtsi" |
| 10 |
#include "armada-80x0.dtsi" |
| 11 |
|
| 12 |
&cp0_pcie0 { |
| 13 |
iommu-map = |
| 14 |
<0x0 &smmu 0x480 0x20>, |
| 15 |
<0x100 &smmu 0x4a0 0x20>, |
| 16 |
<0x200 &smmu 0x4c0 0x20>; |
| 17 |
iommu-map-mask = <0x031f>; |
| 18 |
}; |
| 19 |
|
| 20 |
/* The RTC requires external oscillator. But on Aramda 80x0, the RTC clock |
| 21 |
* in CP master is not connected (by package) to the oscillator. So |
| 22 |
* disable it. However, the RTC clock in CP slave is connected to the |
| 23 |
* oscillator so this one is let enabled. |
| 24 |
*/ |
| 25 |
&cp0_rtc { |
| 26 |
status = "disabled"; |
| 27 |
}; |
| 28 |
|
| 29 |
&cp0_sata0 { |
| 30 |
iommus = <&smmu 0x444>; |
| 31 |
}; |
| 32 |
|
| 33 |
&cp0_sdhci0 { |
| 34 |
iommus = <&smmu 0x445>; |
| 35 |
}; |
| 36 |
|
| 37 |
&cp0_usb3_0 { |
| 38 |
iommus = <&smmu 0x440>; |
| 39 |
}; |
| 40 |
|
| 41 |
&cp0_usb3_1 { |
| 42 |
iommus = <&smmu 0x441>; |
| 43 |
}; |
| 44 |
|
| 45 |
&cp1_sata0 { |
| 46 |
iommus = <&smmu 0x454>; |
| 47 |
}; |
| 48 |
|
| 49 |
&cp1_usb3_0 { |
| 50 |
iommus = <&smmu 0x450>; |
| 51 |
}; |
| 52 |
|
| 53 |
&cp1_usb3_1 { |
| 54 |
iommus = <&smmu 0x451>; |
| 55 |
}; |