Hi,
I'm enabling the second uart in the dts file OLINUIXNO-RT5350F.dts by doing this modification:
BEFORE
gpio {
ralink,group="jtag","rgmii","mdio","led","uartf";
ralink,function="gpio";
};
AFTER
gpio {
ralink,group="jtag","rgmii","mdio","led";
ralink,function="gpio";
};
uartf{
ralink,group="uartf";
ralink,function="gpio uartf";
};
And it works...
However, it seems that I cannot use gpio-leds driver with the uartf pins anymore.
Any explanation? reason? solution?
Thank you!
Note that I need to desactivate gpio7 which belongs to uartf in order for the other gpio-leds to work.
leds {
compatible = "gpio-leds";
//led_red {
// label = "red";
// gpios = <&gpio0 7 1>;
//};
led_blue {
label = "blue";
gpios = <&gpio1 1 1>;
};
led_green {
label = "green";
gpios = <&gpio1 2 1>;
};
}