002-v5.11-ARM-dts-turris-omnia-enable-HW-buffer-management.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. From 018b88eee1a2efda26ed2f09aab33ccdc40ef18f Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <[email protected]>
  3. Date: Sun, 15 Nov 2020 14:59:17 +0100
  4. Subject: ARM: dts: turris-omnia: enable HW buffer management
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. The buffer manager is available on Turris Omnia but needs to be
  9. described in device-tree to be used.
  10. Signed-off-by: Marek Behún <[email protected]>
  11. Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
  12. Cc: [email protected]
  13. Cc: Uwe Kleine-König <[email protected]>
  14. Cc: Jason Cooper <[email protected]>
  15. Cc: Gregory CLEMENT <[email protected]>
  16. Cc: Andreas Färber <[email protected]>
  17. Cc: Andrew Lunn <[email protected]>
  18. Cc: Rob Herring <[email protected]>
  19. Cc: [email protected]
  20. Signed-off-by: Gregory CLEMENT <[email protected]>
  21. ---
  22. arch/arm/boot/dts/armada-385-turris-omnia.dts | 17 +++++++++++++++++
  23. 1 file changed, 17 insertions(+)
  24. (limited to 'arch/arm/boot/dts/armada-385-turris-omnia.dts')
  25. --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
  26. +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
  27. @@ -90,12 +90,23 @@
  28. };
  29. };
  30. +&bm {
  31. + status = "okay";
  32. +};
  33. +
  34. +&bm_bppi {
  35. + status = "okay";
  36. +};
  37. +
  38. /* Connected to 88E6176 switch, port 6 */
  39. &eth0 {
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&ge0_rgmii_pins>;
  42. status = "okay";
  43. phy-mode = "rgmii";
  44. + buffer-manager = <&bm>;
  45. + bm,pool-long = <0>;
  46. + bm,pool-short = <3>;
  47. fixed-link {
  48. speed = <1000>;
  49. @@ -109,6 +120,9 @@
  50. pinctrl-0 = <&ge1_rgmii_pins>;
  51. status = "okay";
  52. phy-mode = "rgmii";
  53. + buffer-manager = <&bm>;
  54. + bm,pool-long = <1>;
  55. + bm,pool-short = <3>;
  56. fixed-link {
  57. speed = <1000>;
  58. @@ -121,6 +135,9 @@
  59. status = "okay";
  60. phy-mode = "sgmii";
  61. phy = <&phy1>;
  62. + buffer-manager = <&bm>;
  63. + bm,pool-long = <2>;
  64. + bm,pool-short = <3>;
  65. };
  66. &i2c0 {