Commit cd2f0d0d authored by Ralph Sennhauser's avatar Ralph Sennhauser Committed by Gregory CLEMENT

ARM: dts: mvebu: linksys: enable buffer manager support

Add appropriate properties to devices in the Linksys WRT AC Series for the
mvneta driver to use hardware buffer management.

Also update "soc" ranges property and set the status of bm and bm-bppi
to "okay" (SRAM).
Signed-off-by: default avatarRalph Sennhauser <ralph.sennhauser@gmail.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 23988bab
...@@ -59,7 +59,8 @@ soc { ...@@ -59,7 +59,8 @@ soc {
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000 MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000 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 { internal-regs {
i2c@11000 { i2c@11000 {
...@@ -88,6 +89,9 @@ serial@12000 { ...@@ -88,6 +89,9 @@ serial@12000 {
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
buffer-manager = <&bm>;
bm,pool-long = <2>;
bm,pool-short = <3>;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
...@@ -97,6 +101,9 @@ fixed-link { ...@@ -97,6 +101,9 @@ fixed-link {
ethernet@34000 { ethernet@34000 {
status = "okay"; status = "okay";
phy-mode = "sgmii"; phy-mode = "sgmii";
buffer-manager = <&bm>;
bm,pool-long = <0>;
bm,pool-short = <1>;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
...@@ -159,6 +166,10 @@ sata@a8000 { ...@@ -159,6 +166,10 @@ sata@a8000 {
status = "okay"; status = "okay";
}; };
bm@c8000 {
status = "okay";
};
/* USB part of the eSATA/USB 2.0 port */ /* USB part of the eSATA/USB 2.0 port */
usb@58000 { usb@58000 {
status = "okay"; status = "okay";
...@@ -241,6 +252,10 @@ partition@180000 { ...@@ -241,6 +252,10 @@ partition@180000 {
}; };
}; };
bm-bppi {
status = "okay";
};
pcie-controller { pcie-controller {
status = "okay"; status = "okay";
......
...@@ -71,7 +71,8 @@ soc { ...@@ -71,7 +71,8 @@ soc {
ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000
MBUS_ID(0x0c, 0x04) 0 0 0xf1200000 0x100000>;
internal-regs { internal-regs {
...@@ -95,6 +96,9 @@ ethernet@70000 { ...@@ -95,6 +96,9 @@ ethernet@70000 {
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
buffer-manager = <&bm>;
bm,pool-long = <0>;
bm,pool-short = <1>;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
...@@ -106,6 +110,9 @@ ethernet@74000 { ...@@ -106,6 +110,9 @@ ethernet@74000 {
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
buffer-manager = <&bm>;
bm,pool-long = <2>;
bm,pool-short = <3>;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
...@@ -186,6 +193,10 @@ wps_amber@9 { ...@@ -186,6 +193,10 @@ wps_amber@9 {
}; };
}; };
bm@c8000 {
status = "okay";
};
nand@d0000 { nand@d0000 {
status = "okay"; status = "okay";
num-cs = <1>; num-cs = <1>;
...@@ -259,6 +270,10 @@ partition@180000 { ...@@ -259,6 +270,10 @@ partition@180000 {
}; };
}; };
}; };
bm-bppi {
status = "okay";
};
}; };
gpio_keys { gpio_keys {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment