after applying what is said in help topic (same subject) here : I2C on Espressobin V7
dtc -I fs -O dts /proc/device-tree | grep -C5 i2c
#gpio-cells = <0x02>;
linux,phandle = <0x0c>;
gpio-ranges = <0x05 0x00 0x00 0x24>;
};
i2c2-pins {
function = "i2c";
groups = "i2c2";
};
i2c1-pins {
function = "i2c";
groups = "i2c1";
};
uart2-pins {
function = "uart";
groups = "uart2";
--
full-duplex;
speed = <0x3e8>;
};
};
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>;
};
nb-periph-clk@13000 {
but still no /dev/i2c after reboot !
root@RELAY:/# opkg list-installed | grep i2c
i2c-tools - 4.1-3
kmod-i2c-algo-bit - 4.14.221-1
kmod-i2c-core - 4.14.221-1
kmod-i2c-gpio - 4.14.221-1
kmod-i2c-gpio-custom - 4.14.221-3
kmod-i2c-smbus - 4.14.221-1
libi2c - 4.1-3
root@RELAY:/# i2cdetect -l
root@RELAY:/#
root@RELAY:/# uname -ar
Linux RELAY 4.14.221 #0 SMP Mon Feb 15 15:22:37 2021 aarch64 GNU/Linux
OpenWrt release 19.07.7