forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm64/boot/dts/marvell/armada-8040.dtsi
....@@ -15,6 +15,14 @@
1515 "marvell,armada-ap806";
1616 };
1717
18
+&cp0_pcie0 {
19
+ iommu-map =
20
+ <0x0 &smmu 0x480 0x20>,
21
+ <0x100 &smmu 0x4a0 0x20>,
22
+ <0x200 &smmu 0x4c0 0x20>;
23
+ iommu-map-mask = <0x031f>;
24
+};
25
+
1826 /* The RTC requires external oscillator. But on Aramda 80x0, the RTC clock
1927 * in CP master is not connected (by package) to the oscillator. So
2028 * disable it. However, the RTC clock in CP slave is connected to the
....@@ -23,3 +31,31 @@
2331 &cp0_rtc {
2432 status = "disabled";
2533 };
34
+
35
+&cp0_sata0 {
36
+ iommus = <&smmu 0x444>;
37
+};
38
+
39
+&cp0_sdhci0 {
40
+ iommus = <&smmu 0x445>;
41
+};
42
+
43
+&cp0_usb3_0 {
44
+ iommus = <&smmu 0x440>;
45
+};
46
+
47
+&cp0_usb3_1 {
48
+ iommus = <&smmu 0x441>;
49
+};
50
+
51
+&cp1_sata0 {
52
+ iommus = <&smmu 0x454>;
53
+};
54
+
55
+&cp1_usb3_0 {
56
+ iommus = <&smmu 0x450>;
57
+};
58
+
59
+&cp1_usb3_1 {
60
+ iommus = <&smmu 0x451>;
61
+};