While the AML-S905X-CC Le Potato has overlays to enable both, I2C AO and I2C B, the AML-A311D-CC currently has I2C AO enabled by default but no overlay for I2C B is available, yet.
$ ldto list
#Overlays available
cpu-b-opp-2304
cpu-l-opp-2208
npu
spifc-nor
I am doing this to investigate replacing the Raspberry Pi 3B+ in a pi-top[3] with the AML-A311D-CC. The pi-tobHub v2 does fit nicely and I’ll report back with my findings.
Nice to see another person picking this up! The advice from Tomeu Vizoso (who worked on the NPU driver but has worked on I2C in the past) was:
“I unfortunately don’t remember much about I2C (has been quite a few years), but I think you could try asking in #linux-amlogic on Libera.Chat. Or on the mailing list: http://lists.infradead.org/mailman/listinfo/linux-amlogic ”
Hope the mailing list proves fruitful!
Thank you very much!
I’m afraid this is a bit beyond me for the moment but I’m sure @butonic and @gauntlet114 will be able to test it for you and I look forward to reading their feedback!
just download the wiring-tools repo [1], build the dtbo file (just type: make, need dtc tool installed first - can do this step either in x86 host environment or in Alta board)
Probable note: if you did merge the device-tree, post reboot, the i2c interface numbers will swap, so one should use index 0 (zero) to interact with it. (the one the used to be 0, is now 1). there are numerous posts about that swap.
Thanks @Luke and team. (I see you responded to @butonic .
Last request, I’d like to understand the difference between I2C AO and EE, but was not able to find something that I can actually make sense of, can someone provide a useful link?
re AO vs EE, generally speaking, the AO means power always-on, so devices in this domain is accessible by power management auxiliary processor (a Cortex-m or riscv processor?) even during suspend or power off mode…