747-v5.16-04-dt-bindings-net-dsa-qca8k-Document-support-for-CPU-p.patch 1.3 KB

1234567891011121314151617181920212223242526272829
  1. From 731d613338ec6de482053ffa3f71be2325b0f8eb Mon Sep 17 00:00:00 2001
  2. From: Ansuel Smith <[email protected]>
  3. Date: Thu, 14 Oct 2021 00:39:09 +0200
  4. Subject: dt-bindings: net: dsa: qca8k: Document support for CPU port 6
  5. The switch now support CPU port to be set 6 instead of be hardcoded to
  6. 0. Document support for it and describe logic selection.
  7. Signed-off-by: Ansuel Smith <[email protected]>
  8. Signed-off-by: David S. Miller <[email protected]>
  9. ---
  10. Documentation/devicetree/bindings/net/dsa/qca8k.txt | 6 +++++-
  11. 1 file changed, 5 insertions(+), 1 deletion(-)
  12. --- a/Documentation/devicetree/bindings/net/dsa/qca8k.txt
  13. +++ b/Documentation/devicetree/bindings/net/dsa/qca8k.txt
  14. @@ -29,7 +29,11 @@ the mdio MASTER is used as communication
  15. Don't use mixed external and internal mdio-bus configurations, as this is
  16. not supported by the hardware.
  17. -The CPU port of this switch is always port 0.
  18. +This switch support 2 CPU port. Normally and advised configuration is with
  19. +CPU port set to port 0. It is also possible to set the CPU port to port 6
  20. +if the device requires it. The driver will configure the switch to the defined
  21. +port. With both CPU port declared the first CPU port is selected as primary
  22. +and the secondary CPU ignored.
  23. A CPU port node has the following optional node: