[PATCH 0/5] arm: dts: marvell: clearfog-gtr: miscellaneous enhancements

Josua Mayer josua at solid-run.com
Sat Dec 23 13:29:25 PST 2023


Dear Maintainers,

The initially merged device-tree for Clearfog GTR devices contained
various subtle mistakes and omissions:

- missing pinctrl entries
- off-by-1 errors on gpio numbers
- mismatch of labels between dsa ports and enclosure
- invalid sfp loss-of-signal gpio
- missing second sfp connector

Most notably this had caused functional issues with the mini-pci-e
connectors and sfp module insertions were not detected.

This patch set includes corrections for all gpio references where appropriate,
matching board revision 1.1.

The secondary sfp connector is added to board-variant "L8", connected to the
managed ethernet switch port number 9.

To help support OpenWRT board-specific configurations, new compatible strings
are added to both boards.
Documentation has not been added because marvell armada-388 dt-bindings
are not yet converted to yaml, and document not a single board:
Documentation/devicetree/bindings/arm/marvell/armada-38x.txt

Finally labels of dsa switch ports were updated to match the enclosure.
That patch is not suitable for stable.

Josua Mayer (5):
  arm: dts: marvell: clearfog-gtr: add board-specific compatible strings
  arm: dts: marvell: clearfog-gtr: sort pinctrl nodes alphabetically
  arm: dts: marvell: clearfog-gtr: fix various off-by-1 gpio numbers
  arm: dts: marvell: clearfog-gtr-l8: add support for second sfp
    connector
  arm: dts: marvell: clearfog-gtr-l8: align port numbers with enclosure

 .../marvell/armada-385-clearfog-gtr-l8.dts    |  35 ++++--
 .../marvell/armada-385-clearfog-gtr-s4.dts    |   1 +
 .../dts/marvell/armada-385-clearfog-gtr.dtsi  | 103 ++++++++++++------
 3 files changed, 99 insertions(+), 40 deletions(-)

Cc: Andrew Lunn <andrew at lunn.ch> (maintainer:ARM/Marvell Kirkwood and Armada 370, 375, 38x,...)
Cc: Gregory Clement <gregory.clement at bootlin.com> (maintainer:ARM/Marvell Kirkwood and Armada 370, 375, 38x,...)
Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com> (maintainer:ARM/Marvell Kirkwood and Armada 370, 375, 38x,...)
Cc: Rob Herring <robh+dt at kernel.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)
Cc: Conor Dooley <conor+dt at kernel.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)

-- 
2.35.3




More information about the linux-arm-kernel mailing list