summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-388-clearfog.dts
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2016-03-14 09:38:58 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-14 17:19:45 +0100
commitc49e99c2b25a412623412a461bb751239208b9b3 (patch)
tree4b87acc16f414c909e891be8901d455d50e260d2 /arch/arm/boot/dts/armada-388-clearfog.dts
parentARM: dts: armada-38x: add buffer manager nodes (diff)
downloadlinux-c49e99c2b25a412623412a461bb751239208b9b3.tar.xz
linux-c49e99c2b25a412623412a461bb751239208b9b3.zip
ARM: dts: armada-38x: enable buffer manager support on Armada 38x boards
Since mvneta driver supports using hardware buffer management (BM), in order to use it, board files have to be adjusted accordingly. This commit enables BM on: * A385-DB-AP - each port has its own pool for long and common pool for short packets, * A388-ClearFog - same as above, * A388-DB - to each port unique 'short' and 'long' pools are mapped, * A388-GP - same as above. Moreover appropriate entry is added to 'soc' node ranges, as well as "okay" status for 'bm' and 'bm-bppi' (internal SRAM) nodes. [gregory.clement@free-electrons.com: add suppport for the ClearFog board] Signed-off-by: Marcin Wojtas <mw@semihalf.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-388-clearfog.dts')
-rw-r--r--arch/arm/boot/dts/armada-388-clearfog.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-388-clearfog.dts b/arch/arm/boot/dts/armada-388-clearfog.dts
index c6e180eb3b11..c60206efb583 100644
--- a/arch/arm/boot/dts/armada-388-clearfog.dts
+++ b/arch/arm/boot/dts/armada-388-clearfog.dts
@@ -78,6 +78,9 @@
internal-regs {
ethernet@30000 {
phy-mode = "sgmii";
+ buffer-manager = <&bm>;
+ bm,pool-long = <2>;
+ bm,pool-short = <1>;
status = "okay";
fixed-link {
@@ -88,6 +91,9 @@
ethernet@34000 {
phy-mode = "sgmii";
+ buffer-manager = <&bm>;
+ bm,pool-long = <3>;
+ bm,pool-short = <1>;
status = "okay";
fixed-link {