Skip to content

arm64: dts: agilex5: add support for debug daughter card

Adrian Ng Ho Yin linux-devicetree lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v12 patches 6 repliesApplied

Changes in v3 from the cover letter

- Remap HPS LED to &portb 12 (gpio1): gpio0 is unrouted, so keeping &porta would leave leds-gpio in perpetual probe deferral
- Retain spi0 dmas/dma-names from the SoC DTSI; do not delete them to work around a software/defconfig issue (DT should describe hardware)
- Add microchip,25aa128 to the at25 binding and use "microchip,25aa128", "atmel,at25" for the EEPROM node
- Drop the altera.yaml compatible patch (already accepted/applied)
- Use &usb31 to match the current Agilex5 SoCDK USB topology

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: eeprom: at25: add Microchip 25AA128Documentation/devicetree/bindings/eeprom/at25.yaml+1 -01 reply
2/2arm64: dts: agilex5: add support for debug daughter cardarch/arm64/boot/dts/intel/Makefile arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_debug.dts+122 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] arm64: dts: agilex5: add support for debug daughter card

The Agilex5 SoCDK supports an optional debug daughter card that requires a dedicated device tree variant due to differences in peripheral connectivity compared to the standard SoCDK configuration.

When the debug daughter card is fitted:
- gpio0 is unrouted and remains disabled; HPS LED is on gpio1 (portb)
- gmac2 is replaced by gmac0 for Ethernet connectivity
- spi0 is connected to a Microchip 25AA128 16 KByte SPI EEPROM

The board compatible (intel,socfpga-agilex5-socdk-debug) is already present in altera.yaml and is not part of this series.

---
changelog:
v2->v3:
- Remap HPS LED to &portb 12 (gpio1): gpio0 is unrouted, so keeping &porta would leave leds-gpio in perpetual probe deferral
- Retain spi0 dmas/dma-names from the SoC DTSI; do not delete them to work around a software/defconfig issue (DT should describe hardware)
- Add microchip,25aa128 to the at25 binding and use "microchip,25aa128", "atmel,at25" for the EEPROM node
- Drop the altera.yaml compatible patch (already accepted/applied)
- Use &usb31 to match the current Agilex5 SoCDK USB topology

v1->v2:
- Use socfpga_agilex5.dtsi as the base include instead of socfpga_agilex5_socdk.dts to follow the convention that .dts files are final compilation units and should not be included by other files
- Replace spidev node (with fake rohm,dh2228fv compatible) with a proper atmel,at25 EEPROM binding describing the actual hardware
- Remove dmas/dma-names from spi0: CONFIG_DW_AXI_DMAC is not enabled in the platform defconfig and retaining them stalls the SPI driver in probe deferral
- Remove incorrect HPS LED GPIO override; the LED mapping is unchanged from the base board
---

Adrian Ng Ho Yin (2):
dt-bindings: eeprom: at25: add Microchip 25AA128
arm64: dts: agilex5: add support for debug daughter card

 .../devicetree/bindings/eeprom/at25.yaml      |   1 +
 arch/arm64/boot/dts/intel/Makefile            |   1 +
 .../dts/intel/socfpga_agilex5_socdk_debug.dts | 121 ++++++++++++++++++
 3 files changed, 123 insertions(+)
 create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_debug.dts
Signature · 1 line
2.49.GIT