ATEC chip and RTC's I2C bus in OpenWrt-19.07.7

Hello everyone,

I am currently working on a project that involves the parallel usage of an ATEC chip and an RTC's (ds1307) I2C bus in OpenWrt-19.07.7. I am facing some difficulties in detecting the ATEC chip using the I2C detect command.

Here there is a screenshot of the situation:
78899838e1abd0a737ef68c41b0638ba

Could someone please guide me on how to proceed with this? I would appreciate any insights or suggestions.

Thank you in advance for your help.

On what device? Why are you using v19? It is end of life.

Does the dts setup the i2c bus for the device you want to access?

The chip is an ATECC508A with a device Hi-Link Module HLK-7688A and an architecture of mipsel_24kc. We are currently using version 19, but we have plans to gradually transition to the next version.

I have added a custom dts file which defines i2c in this way

&i2c {
	status = "okay";
	clock-frequency = <100000>;

	ds1307@68 {
		compatible = "maxim,ds1307";
		reg = <0x68>;
		status = "okay";
	};

	atecc508a@c0 {
		compatible = "atmel,atecc508a";
		reg = <0x60>;
	};
};

you should probably transition to at least the 2nd next version.

Thank you for your suggestion. Just to clarify, are you saying that upgrading to at least the 2nd next version could potentially solve my issue?

No, I'm saying the 23 release should be out later this year, and 21 (which is the next one after 19) will be EOL:ed too.

21.02 already is EOL for a couple of weeks now.

guess I didn't get the memo :slight_smile: