ARM: dts: armada-xp-openblocks-ax3-4: Add BM support
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 14 Mar 2016 08:39:01 +0000 (09:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 16:19:46 +0000 (12:19 -0400)
Allow Openblock AX3 using hardware buffer management with mvneta.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts

index a5db177..3aa29a9 100644 (file)
@@ -67,7 +67,8 @@
                          MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
                          MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x8000000
                          MBUS_ID(0x09, 0x09) 0 0 0xf8100000 0x10000
-                         MBUS_ID(0x09, 0x05) 0 0 0xf8110000 0x10000>;
+                         MBUS_ID(0x09, 0x05) 0 0 0xf8110000 0x10000
+                         MBUS_ID(0x0c, 0x04) 0 0 0xd1200000 0x100000>;
 
                devbus-bootcs {
                        status = "okay";
                                status = "okay";
                                phy = <&phy0>;
                                phy-mode = "sgmii";
+                               buffer-manager = <&bm>;
+                               bm,pool-long = <0>;
                        };
                        ethernet@74000 {
                                status = "okay";
                                phy = <&phy1>;
                                phy-mode = "sgmii";
+                               buffer-manager = <&bm>;
+                               bm,pool-long = <1>;
                        };
                        ethernet@30000 {
                                status = "okay";
                                phy = <&phy2>;
                                phy-mode = "sgmii";
+                               buffer-manager = <&bm>;
+                               bm,pool-long = <2>;
                        };
                        ethernet@34000 {
                                status = "okay";
                                phy = <&phy3>;
                                phy-mode = "sgmii";
+                               buffer-manager = <&bm>;
+                               bm,pool-long = <3>;
                        };
                        i2c@11000 {
                                status = "okay";
                        usb@51000 {
                                status = "okay";
                        };
+
+                       bm@c0000 {
+                               status = "okay";
+                       };
+               };
+
+               bm-bppi {
+                       status = "okay";
                };
        };
 };