hi jonsmirl,
>From what i known, to enable uartf of RT5350F, we need patch serial/8250.
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04/blob/master/openwrt-fix-enable-uartf-kernel-panic.patch
I use uart and gpio functions, the pinctrl of mine:
+ pinctrl {
+ compatible = "ralink,rt2880-pinmux";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&state_default>;
+
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "jtag", "rgmii", "mdio";
+ ralink,function = "gpio";
+ };
+ };
+
+ spi_pins: spi {
+ spi {
+ ralink,group = "spi";
+ ralink,function = "spi";
+ };
+ };
+ i2c_pins: i2c {
+ i2c {
+ ralink,group = "i2c";
+ ralink,function = "i2c";
+ };
+ };
+ phy_led_pins: phy_led {
+ phy_led {
+ ralink,group = "led";
+ ralink,function = "led";
+ };
+ };
+ uartlite_pins: uartlite {
+ uart {
+ ralink,group = "uartlite";
+ ralink,function = "uartlite";
+ };
+ };
*+ uartf_pins: uartf {+ uartf {+
ralink,group = "uartf";+
ralink,function = "gpio uartf";+ };+
};*
+ };
BR.
Jiapeng
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel