Hello there, I want to use both the I2C and second UART that are available according to the pinout. What do I need to do to enable these? Would this be bit-banging the GPIO ports or?
We configure this to general GPIO by default, if you want to use those functionality, you can build a image by yourselt.
Firstly, change dts which is located in target/linux/ramips/dts/MT7628.dts.
Change
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag";
ralink,function = "gpio";
};
};
};
To
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag";
ralink,function = "gpio";
};
};
};
Enable i2c and uart, add those lines.
&i2c {
status = "okay";
};
&uart1 {
status = "okay";
};