aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Sennhauser <ralph.sennhauser@gmail.com>2017-03-16 01:53:19 -0400
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-03-23 12:29:42 -0400
commitcd2f0d0d403b7eb779fba04ea9664faa3b625cde (patch)
tree0e4036223e8c1bd5c36d7ee6443406718d652e7b
parent23988bab04575261c74743b2828d624946cd3b57 (diff)
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: Ralph Sennhauser <ralph.sennhauser@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/armada-385-linksys.dtsi17
-rw-r--r--arch/arm/boot/dts/armada-xp-linksys-mamba.dts17
2 files changed, 32 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
index df47bf1ea5eb..aa0d225ecfbf 100644
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
@@ -59,7 +59,8 @@
59 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 59 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
60 MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000 60 MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
61 MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000 61 MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
62 MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000>; 62 MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
63 MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
63 64
64 internal-regs { 65 internal-regs {
65 i2c@11000 { 66 i2c@11000 {
@@ -88,6 +89,9 @@
88 ethernet@70000 { 89 ethernet@70000 {
89 status = "okay"; 90 status = "okay";
90 phy-mode = "rgmii-id"; 91 phy-mode = "rgmii-id";
92 buffer-manager = <&bm>;
93 bm,pool-long = <2>;
94 bm,pool-short = <3>;
91 fixed-link { 95 fixed-link {
92 speed = <1000>; 96 speed = <1000>;
93 full-duplex; 97 full-duplex;
@@ -97,6 +101,9 @@
97 ethernet@34000 { 101 ethernet@34000 {
98 status = "okay"; 102 status = "okay";
99 phy-mode = "sgmii"; 103 phy-mode = "sgmii";
104 buffer-manager = <&bm>;
105 bm,pool-long = <0>;
106 bm,pool-short = <1>;
100 fixed-link { 107 fixed-link {
101 speed = <1000>; 108 speed = <1000>;
102 full-duplex; 109 full-duplex;
@@ -159,6 +166,10 @@
159 status = "okay"; 166 status = "okay";
160 }; 167 };
161 168
169 bm@c8000 {
170 status = "okay";
171 };
172
162 /* USB part of the eSATA/USB 2.0 port */ 173 /* USB part of the eSATA/USB 2.0 port */
163 usb@58000 { 174 usb@58000 {
164 status = "okay"; 175 status = "okay";
@@ -241,6 +252,10 @@
241 }; 252 };
242 }; 253 };
243 254
255 bm-bppi {
256 status = "okay";
257 };
258
244 pcie-controller { 259 pcie-controller {
245 status = "okay"; 260 status = "okay";
246 261
diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
index 3744ba311b69..9efcf59c9b44 100644
--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
@@ -71,7 +71,8 @@
71 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 71 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
72 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 72 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
73 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 73 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
74 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; 74 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000
75 MBUS_ID(0x0c, 0x04) 0 0 0xf1200000 0x100000>;
75 76
76 internal-regs { 77 internal-regs {
77 78
@@ -95,6 +96,9 @@
95 pinctrl-names = "default"; 96 pinctrl-names = "default";
96 status = "okay"; 97 status = "okay";
97 phy-mode = "rgmii-id"; 98 phy-mode = "rgmii-id";
99 buffer-manager = <&bm>;
100 bm,pool-long = <0>;
101 bm,pool-short = <1>;
98 fixed-link { 102 fixed-link {
99 speed = <1000>; 103 speed = <1000>;
100 full-duplex; 104 full-duplex;
@@ -106,6 +110,9 @@
106 pinctrl-names = "default"; 110 pinctrl-names = "default";
107 status = "okay"; 111 status = "okay";
108 phy-mode = "rgmii-id"; 112 phy-mode = "rgmii-id";
113 buffer-manager = <&bm>;
114 bm,pool-long = <2>;
115 bm,pool-short = <3>;
109 fixed-link { 116 fixed-link {
110 speed = <1000>; 117 speed = <1000>;
111 full-duplex; 118 full-duplex;
@@ -186,6 +193,10 @@
186 }; 193 };
187 }; 194 };
188 195
196 bm@c8000 {
197 status = "okay";
198 };
199
189 nand@d0000 { 200 nand@d0000 {
190 status = "okay"; 201 status = "okay";
191 num-cs = <1>; 202 num-cs = <1>;
@@ -259,6 +270,10 @@
259 }; 270 };
260 }; 271 };
261 }; 272 };
273
274 bm-bppi {
275 status = "okay";
276 };
262 }; 277 };
263 278
264 gpio_keys { 279 gpio_keys {