Hi,
I'm having issues with getting I2C to work on v19.07 build. Regardless of what board I try with their respective Openwrt builds (Espressobin V7, Orange Pi R1), I still see the exact same behavior.
opkg install kmod-i2c-gpio kmod-i2c-gpio-custom kmod-i2c-core kmod-i2c-algo-bit
opkg install i2c-tools
opkg install kmod-i2c-smbus
reboot
root@OpenWrt:/# dmesg | grep i2c
[ 1.404860] i2c /dev entries driver
root@OpenWrt:/# i2cdetect -l
root@OpenWrt:/#
When I do i2cdetect -l
, it is just blank, nothing happens.
/dev has no i2c related entry either.
I2C has been enabled in the dtb file
i2c@11080 {
#address-cells = <0x01>;
mrvl,i2c-fast-mode;
interrupts = <0x00 0x02 0x04>;
clocks = <0x02 0x09>;
#size-cells = <0x00>;
compatible = "marvell,armada-3700-i2c";
status = "okay";
reg = <0x11080 0x24>;
};
interrupt-controller@1d00000 {
--
};
};
};
};
i2c@11000 {
#address-cells = <0x01>;
mrvl,i2c-fast-mode;
interrupts = <0x00 0x01 0x04>;
clocks = <0x02 0x0a>;
#size-cells = <0x00>;
compatible = "marvell,armada-3700-i2c";
status = "okay";
reg = <0x11000 0x24>;
};
Please advise.