aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2018-09-26 12:21:22 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2018-09-29 17:23:11 +0200
commit33f47c28c6e881936f1b8dbd200b4b5724738bd0 (patch)
tree542146b5e5337920b9bb1c99fa4c4312bfe010aa /target/linux/layerscape
parent64756a9a30d556e3d949123bde099c66a5d627f8 (diff)
downloadupstream-33f47c28c6e881936f1b8dbd200b4b5724738bd0.tar.gz
upstream-33f47c28c6e881936f1b8dbd200b4b5724738bd0.tar.bz2
upstream-33f47c28c6e881936f1b8dbd200b4b5724738bd0.zip
layerscape: fix Ethernet/DPAA/FMAN on Traverse boards after DTS refresh
Patch 303 is required for Traverse LS1043 targets when using the NXP DPAA1 driver. The recent refresh of 4.9 patches on layerscape changed how FMan/BMan memory regions were defined and meant Ethernet stopped working on these boards. (Note that these definitions are only required for NXP's Ethernet driver, the new upstream driver in >=4.15 works using the DTS provided in files/) Signed-off-by: Mathew McBride <matt@traverse.com.au>
Diffstat (limited to 'target/linux/layerscape')
-rw-r--r--target/linux/layerscape/patches-4.9/303-dts-layerscape-add-traverse-ls1043.patch10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/layerscape/patches-4.9/303-dts-layerscape-add-traverse-ls1043.patch b/target/linux/layerscape/patches-4.9/303-dts-layerscape-add-traverse-ls1043.patch
index c57fb0985b..6232e56782 100644
--- a/target/linux/layerscape/patches-4.9/303-dts-layerscape-add-traverse-ls1043.patch
+++ b/target/linux/layerscape/patches-4.9/303-dts-layerscape-add-traverse-ls1043.patch
@@ -25,7 +25,7 @@ Signed-off-by: Mathew McBride <matt@traverse.com.au>
clean-files := *.dtb
--- a/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts
+++ b/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts
-@@ -330,3 +330,29 @@
+@@ -330,3 +330,32 @@
&sata {
status = "disabled";
};
@@ -34,6 +34,9 @@ Signed-off-by: Mathew McBride <matt@traverse.com.au>
+ * These kernels need additional setup for FMan/QMan DMA shared memory
+ */
+
++#include "qoriq-qman-portals-sdk.dtsi"
++#include "qoriq-bman-portals-sdk.dtsi"
++
+&bman_fbpr {
+ compatible = "fsl,bman-fbpr";
+ alloc-ranges = <0 0 0x10000 0>;
@@ -57,7 +60,7 @@ Signed-off-by: Mathew McBride <matt@traverse.com.au>
+};
--- a/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts
+++ b/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts
-@@ -251,3 +251,29 @@
+@@ -251,3 +251,32 @@
&sata {
status = "disabled";
};
@@ -66,6 +69,9 @@ Signed-off-by: Mathew McBride <matt@traverse.com.au>
+ * These kernels need additional setup for FMan/QMan DMA shared memory
+ */
+
++#include "qoriq-qman-portals-sdk.dtsi"
++#include "qoriq-bman-portals-sdk.dtsi"
++
+&bman_fbpr {
+ compatible = "fsl,bman-fbpr";
+ alloc-ranges = <0 0 0x10000 0>;