layerscape: add patches-5.4
[openwrt/staging/mkresin.git] / target / linux / layerscape / patches-5.4 / 302-dts-0019-sdk-dts-ls104x-drop-smmu-from-the-sdk-device-trees.patch
1 From 9c0090519c422600596a9d7c1e6e33a5268dfce4 Mon Sep 17 00:00:00 2001
2 From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
3 Date: Thu, 2 Aug 2018 17:54:28 +0300
4 Subject: [PATCH] sdk: dts: ls104x: drop smmu from the sdk device trees
5
6 SMMU is not supported for the SDK version of the dpaa ethernet
7 drivers so remove the SMMU node from the device tree.
8
9 Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
10 ---
11 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts | 14 ++++++++++++++
12 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts | 14 ++++++++++++++
13 2 files changed, 28 insertions(+)
14
15 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
16 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
17 @@ -64,6 +64,20 @@
18 &soc {
19 #include "qoriq-dpaa-eth.dtsi"
20 #include "qoriq-fman3-0-6oh.dtsi"
21 +
22 +pcie@3400000 {
23 + /delete-property/ iommu-map;
24 +};
25 +
26 +pcie@3500000 {
27 + /delete-property/ iommu-map;
28 +};
29 +
30 +pcie@3600000 {
31 + /delete-property/ iommu-map;
32 +};
33 +
34 +/delete-node/ iommu@9000000;
35 };
36
37 &fman0 {
38 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
39 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
40 @@ -64,6 +64,20 @@
41 &soc {
42 #include "qoriq-dpaa-eth.dtsi"
43 #include "qoriq-fman3-0-6oh.dtsi"
44 +
45 +pcie@3400000 {
46 + /delete-property/ iommu-map;
47 +};
48 +
49 +pcie@3500000 {
50 + /delete-property/ iommu-map;
51 +};
52 +
53 +pcie@3600000 {
54 + /delete-property/ iommu-map;
55 +};
56 +
57 +/delete-node/ iommu@9000000;
58 };
59
60 &fsldpaa {