Skip to content

overlays: ed-ipc: Add EDATEC IPC/EXP unified board overlay#7479

Open
zjzhao-eda wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
edatec:ed-ipc-overlay
Open

overlays: ed-ipc: Add EDATEC IPC/EXP unified board overlay#7479
zjzhao-eda wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
edatec:ed-ipc-overlay

Conversation

@zjzhao-eda

Copy link
Copy Markdown
Contributor

Add a new device tree overlay ed-ipc for EDATEC IPC/EXP series
industrial PC carrier boards (based on Raspberry Pi Compute Module 4/5).

This overlay configures PCA9535 GPIO expanders on both i2c_csi_dsi
and i2c_arm buses, providing support for multiple board profiles and
optional expansion modules.

Supported board profiles

  • ipc2100 — CM4, i2c_csi_dsi, PCA interrupt on GPIO6
  • ipc2210 — CM4, i2c_csi_dsi, PCA interrupt on GPIO6
  • ipc2300 — CM4, i2c_arm, PCA interrupt on GPIO44
  • ipc3100 — CM5, i2c_csi_dsi0, PCA interrupt on GPIO6
  • ipc3210 — CM5, i2c_csi_dsi0, PCA interrupt on GPIO6
  • ipc3300 — CM5, i2c_arm, PCA interrupt on GPIO38
  • ipc1200 — CM4, i2c_csi_dsi, PCA interrupt on GPIO15
  • plc2010 — i2c_arm, PCA interrupt on GPIO7, addr 0x21
  • ipc3600 — IPC3100 + exp8x8y expansion
  • ipc2600 — IPC2100 + exp8x8y expansion
  • ipc1220 — IPC1200 + exp4x4y expansion

Usage example

dtoverlay=ed-ipc,ipc2600

Additional parameters

  • addr — I2C address for primary PCA9535 (default 0x20)
  • exp_addr — I2C address for secondary PCA9535 (default 0x27)
  • exp8x8y — Enable 8-input/8-output expansion module (CM5)
  • exp4x4y — Enable 4-input/4-output expansion module (CM5)

All fragments use the dormant/override mechanism and have no effect
unless explicitly activated by a board profile parameter.

/plugin/;

/ {
compatible = "brcm,bcm2712", "brcm,bcm2711", "brcm,bcm2835";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What you've written here is valid Device Tree, but it's not how we use it. Just "brcm.bcm2835" is preferred for a general purpose overlay like this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for letting me know, I've fixed it.

@pelwell

pelwell commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for also adding the newline at the end.

Add a new overlay for EDATEC IPC/EXP series industrial PC carrier
boards. This overlay configures PCA9535 GPIO expanders on both
i2c_csi_dsi and i2c_arm buses, with support for multiple board
profiles (IPC2100, IPC2300, IPC3100, IPC3300, PLC2010, etc.) and
optional expansion modules (exp8x8y, exp4x4y).

Signed-off-by: zjzhao <zjzhao@edatec.cn>
@zjzhao-eda

Copy link
Copy Markdown
Contributor Author

You're welcome. It's my pleasure. I'll keep monitoring the repair process until it's completely problem-free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants