Commit 018b88ee authored by Marek Behún's avatar Marek Behún Committed by Gregory CLEMENT

ARM: dts: turris-omnia: enable HW buffer management

The buffer manager is available on Turris Omnia but needs to be
described in device-tree to be used.
Signed-off-by: default avatarMarek Behún <kabel@kernel.org>
Fixes: 26ca8b52 ("ARM: dts: add support for Turris Omnia")
Cc: linux-arm-kernel@lists.infradead.org
Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
Cc: Andreas Färber <afaerber@suse.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 44144cc9
...@@ -84,12 +84,23 @@ pcie@3,0 { ...@@ -84,12 +84,23 @@ pcie@3,0 {
}; };
}; };
&bm {
status = "okay";
};
&bm_bppi {
status = "okay";
};
/* Connected to 88E6176 switch, port 6 */ /* Connected to 88E6176 switch, port 6 */
&eth0 { &eth0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
status = "okay"; status = "okay";
phy-mode = "rgmii"; phy-mode = "rgmii";
buffer-manager = <&bm>;
bm,pool-long = <0>;
bm,pool-short = <3>;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
...@@ -103,6 +114,9 @@ &eth1 { ...@@ -103,6 +114,9 @@ &eth1 {
pinctrl-0 = <&ge1_rgmii_pins>; pinctrl-0 = <&ge1_rgmii_pins>;
status = "okay"; status = "okay";
phy-mode = "rgmii"; phy-mode = "rgmii";
buffer-manager = <&bm>;
bm,pool-long = <1>;
bm,pool-short = <3>;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
...@@ -115,6 +129,9 @@ &eth2 { ...@@ -115,6 +129,9 @@ &eth2 {
status = "okay"; status = "okay";
phy-mode = "sgmii"; phy-mode = "sgmii";
phy = <&phy1>; phy = <&phy1>;
buffer-manager = <&bm>;
bm,pool-long = <2>;
bm,pool-short = <3>;
}; };
&i2c0 { &i2c0 {
......
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