lkml.org 
[lkml]   [2021]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[net-next PATCH v7 04/16] dt-bindings: net: dsa: qca8k: Document support for CPU port 6
    Date
    The switch now support CPU port to be set 6 instead of be hardcoded to
    0. Document support for it and describe logic selection.

    Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
    ---
    Documentation/devicetree/bindings/net/dsa/qca8k.txt | 6 +++++-
    1 file changed, 5 insertions(+), 1 deletion(-)

    diff --git a/Documentation/devicetree/bindings/net/dsa/qca8k.txt b/Documentation/devicetree/bindings/net/dsa/qca8k.txt
    index cc214e655442..aeb206556f54 100644
    --- a/Documentation/devicetree/bindings/net/dsa/qca8k.txt
    +++ b/Documentation/devicetree/bindings/net/dsa/qca8k.txt
    @@ -29,7 +29,11 @@ the mdio MASTER is used as communication.
    Don't use mixed external and internal mdio-bus configurations, as this is
    not supported by the hardware.

    -The CPU port of this switch is always port 0.
    +This switch support 2 CPU port. Normally and advised configuration is with
    +CPU port set to port 0. It is also possible to set the CPU port to port 6
    +if the device requires it. The driver will configure the switch to the defined
    +port. With both CPU port declared the first CPU port is selected as primary
    +and the secondary CPU ignored.

    A CPU port node has the following optional node:

    --
    2.32.0
    \
     
     \ /
      Last update: 2021-10-14 00:40    [W:3.527 / U:0.180 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site