Skip to content
Snippets Groups Projects
Verified Commit e60a5464 authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files
parent 25a6fd7e
No related branches found
No related tags found
2 merge requests!569Turris OS 6.0 (HBK),!476Merge HBD into HBL
Pipeline #77500 failed
......@@ -1025,88 +1025,6 @@ index 0000000..b77d5fd
+--
+2.24.1
+
diff --git a/target/linux/mvebu/patches-5.4/8804-ARM-dts-mvebu-armada-385-turris-omnia-enable-HW-buff.patch b/target/linux/mvebu/patches-5.4/8804-ARM-dts-mvebu-armada-385-turris-omnia-enable-HW-buff.patch
new file mode 100644
index 0000000..6f98821
--- /dev/null
+++ b/target/linux/mvebu/patches-5.4/8804-ARM-dts-mvebu-armada-385-turris-omnia-enable-HW-buff.patch
@@ -0,0 +1,76 @@
+From f4efd080c9e4f5d2c5557c3ba72584b4eb349ccc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <marek.behun@nic.cz>
+Date: Thu, 7 May 2020 17:54:21 +0200
+Subject: [PATCH] ARM: dts: mvebu: armada-385-turris-omnia: enable HW buffer
+ management
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Enable HW buffer management for all three ethernet controllers on Turris
+Omnia.
+
+Signed-off-by: Marek Behún <marek.behun@nic.cz>
+---
+ .../arm/boot/dts/armada-385-turris-omnia.dtsi | 20 ++++++++++++++++++-
+ 1 file changed, 19 insertions(+), 1 deletion(-)
+
+diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dtsi b/arch/arm/boot/dts/armada-385-turris-omnia.dtsi
+index 5faecdbfaf8b..967d5bf13b5f 100644
+--- a/arch/arm/boot/dts/armada-385-turris-omnia.dtsi
++++ b/arch/arm/boot/dts/armada-385-turris-omnia.dtsi
+@@ -29,7 +29,8 @@
+ ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
+ MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
+ MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
+- MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000>;
++ MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
++ MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
+
+ internal-regs {
+
+@@ -93,10 +94,21 @@
+ };
+ };
+
++&bm {
++ status = "okay";
++};
++
++&bm_bppi {
++ status = "okay";
++};
++
+ /* Connected to 88E6176 switch, port 6 */
+ &eth0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ge0_rgmii_pins>;
++ buffer-manager = <&bm>;
++ bm,pool-long = <0>;
++ bm,pool-short = <3>;
+ status = "okay";
+ phy-mode = "rgmii";
+
+@@ -110,6 +122,9 @@
+ &eth1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ge1_rgmii_pins>;
++ buffer-manager = <&bm>;
++ bm,pool-long = <1>;
++ bm,pool-short = <3>;
+ status = "okay";
+ phy-mode = "rgmii";
+
+@@ -121,6 +136,9 @@
+
+ /* WAN dual-personality port */
+ &eth2 {
++ buffer-manager = <&bm>;
++ bm,pool-long = <2>;
++ bm,pool-short = <3>;
+ phys = <&comphy5 2>;
+ status = "okay";
+ };
+--
+2.24.1
+
diff --git a/target/linux/mvebu/patches-5.4/9950-net-dsa-allow-for-multiple-CPU-ports.patch b/target/linux/mvebu/patches-5.4/9950-net-dsa-allow-for-multiple-CPU-ports.patch
new file mode 100644
index 0000000..1424d17
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment