038-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. From 253358f373492608348136e569366d73cb969f6a Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Tue, 24 Oct 2023 09:26:05 +0200
  4. Subject: [PATCH] ARM: dts: BCM5301X: Set switch ports for Linksys EA9200
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This patch was developed as OpenWrt downstream change and was recently
  9. confirmed to work as expected.
  10. Tested-by: Rani Hod <[email protected]>
  11. Signed-off-by: Rafał Miłecki <[email protected]>
  12. Link: https://lore.kernel.org/r/[email protected]
  13. Signed-off-by: Florian Fainelli <[email protected]>
  14. ---
  15. .../dts/broadcom/bcm4709-linksys-ea9200.dts | 38 +++++++++++++++++++
  16. 1 file changed, 38 insertions(+)
  17. --- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
  18. +++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
  19. @@ -47,3 +47,41 @@
  20. &usb3_phy {
  21. status = "okay";
  22. };
  23. +
  24. +&srab {
  25. + status = "okay";
  26. +
  27. + ports {
  28. + port@0 {
  29. + label = "lan1";
  30. + };
  31. +
  32. + port@1 {
  33. + label = "lan2";
  34. + };
  35. +
  36. + port@2 {
  37. + label = "lan3";
  38. + };
  39. +
  40. + port@3 {
  41. + label = "lan4";
  42. + };
  43. +
  44. + port@4 {
  45. + label = "wan";
  46. + };
  47. +
  48. + port@5 {
  49. + status = "disabled";
  50. + };
  51. +
  52. + port@7 {
  53. + status = "disabled";
  54. + };
  55. +
  56. + port@8 {
  57. + label = "cpu";
  58. + };
  59. + };
  60. +};