Hi!
I’ve just enabled i2c on my GL-MT300N-V2 on OpenWrt 21.02.0 RC3 and got it working.
(i use the OpenWRT Git from RC3)
For the GL-MT300N-V2 I modified the “mt7628an_glinet_gl-mt300n-v2.dts” file (Showing that there is an RTC DS1307):
&i2c {
status = "okay";
ds1307: ds1307@68 {
compatible = "maxim,ds1307";
reg = <0x68>;
status = "okay";
};
};
Today i wanted to do the same on the S1300.
It seems to come up with 2 i2c interfaced that are both not activated. So i added this to the file “qcom-ipq4029-gl-s1300.dts”:
&blsp1_i2c3 {
status = "okay";
};
&blsp1_i2c4 {
status = "okay";
};
After boot the device shows up 2 i2c interfaces - but if i do “i2cdetect -y 0” or “i2cdetect -y 1” i can not find any device, but the RTC ist on the bus an working with the GL-MT300N-V2
As i did not find any introductions how to enable i2c on a S1300 i just wanted to ask if i have missed something and if it even would work.
Kind regards, C.Hackl