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";
};