8cbb00f0c064272daca0958f62e7be3d778d471d
[openwrt/staging/ynezz.git] /
1 From 6119ca5f113320d848ead38b141238b013f538c6 Mon Sep 17 00:00:00 2001
2 From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
3 Date: Wed, 23 Jan 2019 16:28:36 +0200
4 Subject: [PATCH] sdk: dts: ls104x: drop smmu from the qds and usdpaa sdk dts
5
6 Also drop the smmu from the qds and usdpaa versions of the
7 SDK device trees because SMMU is supported only for the
8 upstream version of the dpaa ethernet drivers.
9
10 Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
11 ---
12 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts | 14 ++++++++++++++
13 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 14 ++++++++++++++
14 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts | 14 ++++++++++++++
15 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 14 ++++++++++++++
16 4 files changed, 56 insertions(+)
17
18 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
19 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
20 @@ -64,6 +64,20 @@
21 &soc {
22 #include "qoriq-dpaa-eth.dtsi"
23 #include "qoriq-fman3-0-6oh.dtsi"
24 +
25 +pcie@3400000 {
26 + /delete-property/ iommu-map;
27 +};
28 +
29 +pcie@3500000 {
30 + /delete-property/ iommu-map;
31 +};
32 +
33 +pcie@3600000 {
34 + /delete-property/ iommu-map;
35 +};
36 +
37 +/delete-node/ iommu@9000000;
38 };
39
40 &fman0 {
41 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
42 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
43 @@ -92,6 +92,20 @@
44 fsl,fman-oh-port = <&fman0_oh2>;
45 };
46 };
47 +
48 + pcie@3400000 {
49 + /delete-property/ iommu-map;
50 + };
51 +
52 + pcie@3500000 {
53 + /delete-property/ iommu-map;
54 + };
55 +
56 + pcie@3600000 {
57 + /delete-property/ iommu-map;
58 + };
59 +
60 + /delete-node/ iommu@9000000;
61 };
62 / {
63 reserved-memory {
64 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
65 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
66 @@ -64,6 +64,20 @@
67 &soc {
68 #include "qoriq-dpaa-eth.dtsi"
69 #include "qoriq-fman3-0-6oh.dtsi"
70 +
71 +pcie@3400000 {
72 + /delete-property/ iommu-map;
73 +};
74 +
75 +pcie@3500000 {
76 + /delete-property/ iommu-map;
77 +};
78 +
79 +pcie@3600000 {
80 + /delete-property/ iommu-map;
81 +};
82 +
83 +/delete-node/ iommu@9000000;
84 };
85
86 &fsldpaa {
87 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
88 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
89 @@ -85,6 +85,20 @@
90 fsl,fman-oh-port = <&fman0_oh2>;
91 };
92 };
93 +
94 + pcie@3400000 {
95 + /delete-property/ iommu-map;
96 + };
97 +
98 + pcie@3500000 {
99 + /delete-property/ iommu-map;
100 + };
101 +
102 + pcie@3600000 {
103 + /delete-property/ iommu-map;
104 + };
105 +
106 + /delete-node/ iommu@9000000;
107 };
108 / {
109 reserved-memory {