linux/arch/riscv/boot/dts/microchip
Conor Dooley 0df8aa2b9a riscv: dts: microchip: fix icicle i2c pinctrl configuration
Unfortunately, an erratum with engineering sample that I was not aware
of was exposed by adding pinctrl configuration to the icicle kit.
When routed to MSS IOs, i2c signals are never anything other than tied
low. Being an FPGA, a Libero workaround for this problem was created,
that involves routing i2c signals to the FPGA fabric when the MSS IO
option is selected in the configurator and then back to the intended pin
using the debug "fabric test" capability. This is invisible to user
facing information in the tooling and not mentioned in reference designs
documentation. It manifests solely in the .xml output from the MSS
configuration that the HSS firmware uses to configure the device, which
Linux now overwrites using the pinctrl information. As a result, I never
noticed this.

My original submission had the engineering sample configuration, but I
modified it on application after I was told it didn't work, not
realising that the report came from a colleague with a production
device, where the erratum was fixed and the workaround not automatically
implemented by Libero when creating a design.

Move this part of the pinctrl configuration out of the shared portion of
the icicle device trees, into the portions that are specific to
engineering sample and production devices so that the different settings
for i2c pins can be dealt with.

Although the reference design only has this workaround in place for
i2c1, as i2c0 is genuinely fabric routed, move it too since the
erratum affects both controllers.

Link: https://ww1.microchip.com/downloads/aemDocuments/documents/FPGA/ProductDocuments/Errata/polarfiresoc/microsemi_polarfire_soc_fpga_egineering_samples_errata_er0219_v1.pdf [3.3]
Fixes: 123f4276b5 ("riscv: dts: microchip: add pinctrl nodes for mpfs/icicle kit")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
2026-04-27 20:12:51 +01:00
..
Makefile riscv: dts: microchip: remove POLARFIRE mention in Makefile 2026-03-24 18:34:04 +00:00
mpfs-beaglev-fire-fabric.dtsi riscv: dts: microchip: add an initial devicetree for the BeagleV Fire 2024-06-19 12:36:55 +01:00
mpfs-beaglev-fire.dts riscv: dts: microchip: update mpfs gpio interrupts to better match the SoC 2026-03-31 15:51:52 +01:00
mpfs-disco-kit-fabric.dtsi riscv: dts: microchip: add a device tree for Discovery Kit 2025-09-09 20:48:15 +01:00
mpfs-disco-kit.dts riscv: dts: microchip: update mpfs gpio interrupts to better match the SoC 2026-03-31 15:51:52 +01:00
mpfs-icicle-kit-common.dtsi riscv: dts: microchip: update mpfs gpio interrupts to better match the SoC 2026-03-31 15:51:52 +01:00
mpfs-icicle-kit-fabric.dtsi riscv: dts: microchip: fix icicle i2c pinctrl configuration 2026-04-27 20:12:51 +01:00
mpfs-icicle-kit-prod.dts riscv: dts: microchip: fix icicle i2c pinctrl configuration 2026-04-27 20:12:51 +01:00
mpfs-icicle-kit.dts riscv: dts: microchip: fix icicle i2c pinctrl configuration 2026-04-27 20:12:51 +01:00
mpfs-m100pfs-fabric.dtsi riscv: dts: microchip: update pcie reg properties to new format 2025-02-04 20:28:06 +00:00
mpfs-m100pfsevp.dts riscv: dts: microchip: update mpfs gpio interrupts to better match the SoC 2026-03-31 15:51:52 +01:00
mpfs-pinctrl.dtsi riscv: dts: microchip: add pinctrl nodes for mpfs/icicle kit 2026-03-24 18:34:03 +00:00
mpfs-polarberry-fabric.dtsi riscv: dts: microchip: update pcie reg properties to new format 2025-02-04 20:28:06 +00:00
mpfs-polarberry.dts riscv: dts: microchip: update mpfs gpio interrupts to better match the SoC 2026-03-31 15:51:52 +01:00
mpfs-sev-kit-fabric.dtsi riscv: dts: microchip: remove pcie node from the sev kit 2022-11-17 19:21:15 +00:00
mpfs-sev-kit.dts riscv: dts: microchip: update mpfs gpio interrupts to better match the SoC 2026-03-31 15:51:52 +01:00
mpfs-tysom-m-fabric.dtsi riscv: dts: microchip: add the Aldec TySoM's devicetree 2023-01-25 11:05:31 +00:00
mpfs-tysom-m.dts riscv: dts: microchip: update mpfs gpio interrupts to better match the SoC 2026-03-31 15:51:52 +01:00
mpfs.dtsi soc: dt changes for 7.1 2026-04-16 20:28:48 -07:00
pic64gx-curiosity-kit.dts riscv: dts: microchip: add pic64gx and its curiosity kit 2026-03-24 18:34:04 +00:00
pic64gx-pinctrl.dtsi riscv: dts: microchip: add pic64gx and its curiosity kit 2026-03-24 18:34:04 +00:00
pic64gx.dtsi riscv: dts: microchip: add pic64gx and its curiosity kit 2026-03-24 18:34:04 +00:00