Commit afdc0aab authored by Colin Foster's avatar Colin Foster Committed by David S. Miller
Browse files

dt-bindings: net: dsa: sf2: fix brcm,use-bcm-hdr documentation



The property use-bcm-hdr was documented as an entry under the ports node
for the bcm_sf2 DSA switch. This property is actually evaluated for each
port. Correct the documentation to match the actual behavior and properly
reference dsa-port.yaml for additional properties of the node.

Suggested-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarColin Foster <colin.foster@in-advantage.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4015dfce
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -85,6 +85,11 @@ properties:
  ports:
    type: object

    patternProperties:
      '^port@[0-9a-f]$':
        $ref: dsa-port.yaml#
        unevaluatedProperties: false

        properties:
          brcm,use-bcm-hdr:
            description: if present, indicates that the switch port has Broadcom