Overlay Patch for Seeed-Studio reComputer-R1000

Hello,
I just saw your patch on github to add the overlay for the Seeed-Studio reComputer-R1000 and was wondering how to use it? I have updated to v6.0.7+rev1 and added the DT overlay “reComputer-R100x” parameter to the device configuration, however I still cannot access the additional gpio expanders over i2c. (specifically pca9535/pcf857x: pcf@21 in the .dts) What is the procedure to make the patch work?
Thank you in advance!
Best regards

@mickaelkopp welcome to the forums!

Just taking a glance at the patch file, it looks like the overlay would be called reComputer-R100x-overlay, have you tried that?

Thank you for your response!

The obtained overlay is called “reComputer-R100x.dtbo” and is located in “/mnt/boot/overlays/” so I added the DT overlay parameter “reComputer-R100x” in the device configuration tab in the BalenaCloud dashboard. However I get an i2c timeout when trying to load the gpio expander:

root@1f5668b:~# dmesg | grep -i pca953x
[ 0.845304] pca953x 3-0021: supply vcc not found, using dummy regulator
[ 0.845421] pca953x 3-0021: using no AI
[ 1.860331] pca953x 3-0021: failed writing register
[ 1.860729] pca953x: probe of 3-0021 failed with error -110

I verified that the pca9535 has power which it does, I assumed that the .dts file is correct. What else must I do to get it to work?

Hi @mickaelkopp,

Good question. This is new in the past few weeks. That overlay is from the nice folks at Seeed. It provides access to the 2nd Ethernet port, the modem (if present), and RS485. FYI, Seeed is working on an update that may help with RS485 configuration. So if RS485 is important to you, you might want to check for updates later.

You asked about how to use the overlay. Here is an early draft of documentation:
Configure the DT Overlay
https://github.com/mpous/seeed-recomputer-r100x?tab=readme-ov-file#configure-the-dt-overlay

Adding the specific DT parameters as in the doc you provided solved the problem. It works now, thank you very much!