| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- From 018b88eee1a2efda26ed2f09aab33ccdc40ef18f Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <[email protected]>
- Date: Sun, 15 Nov 2020 14:59:17 +0100
- Subject: ARM: dts: turris-omnia: enable HW buffer management
- MIME-Version: 1.0
- Content-Type: text/plain; charset=UTF-8
- Content-Transfer-Encoding: 8bit
- The buffer manager is available on Turris Omnia but needs to be
- described in device-tree to be used.
- Signed-off-by: Marek Behún <[email protected]>
- Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
- Cc: [email protected]
- Cc: Uwe Kleine-König <[email protected]>
- Cc: Jason Cooper <[email protected]>
- Cc: Gregory CLEMENT <[email protected]>
- Cc: Andreas Färber <[email protected]>
- Cc: Andrew Lunn <[email protected]>
- Cc: Rob Herring <[email protected]>
- Cc: [email protected]
- Signed-off-by: Gregory CLEMENT <[email protected]>
- ---
- arch/arm/boot/dts/armada-385-turris-omnia.dts | 17 +++++++++++++++++
- 1 file changed, 17 insertions(+)
- (limited to 'arch/arm/boot/dts/armada-385-turris-omnia.dts')
- --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
- +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
- @@ -90,12 +90,23 @@
- };
- };
-
- +&bm {
- + status = "okay";
- +};
- +
- +&bm_bppi {
- + status = "okay";
- +};
- +
- /* Connected to 88E6176 switch, port 6 */
- ð0 {
- pinctrl-names = "default";
- pinctrl-0 = <&ge0_rgmii_pins>;
- status = "okay";
- phy-mode = "rgmii";
- + buffer-manager = <&bm>;
- + bm,pool-long = <0>;
- + bm,pool-short = <3>;
-
- fixed-link {
- speed = <1000>;
- @@ -109,6 +120,9 @@
- pinctrl-0 = <&ge1_rgmii_pins>;
- status = "okay";
- phy-mode = "rgmii";
- + buffer-manager = <&bm>;
- + bm,pool-long = <1>;
- + bm,pool-short = <3>;
-
- fixed-link {
- speed = <1000>;
- @@ -121,6 +135,9 @@
- status = "okay";
- phy-mode = "sgmii";
- phy = <&phy1>;
- + buffer-manager = <&bm>;
- + bm,pool-long = <2>;
- + bm,pool-short = <3>;
- };
-
- &i2c0 {
|