mt6622: add rts control for hwflow
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-rk30 / board-rk3168-tb.c
index 11d3ff4a3ad02bc707ff5d29ae81dbcfe8246277..592af755211ed714cfc45309c615c6f60580436b 100755 (executable)
@@ -1429,7 +1429,17 @@ static struct mt6622_platform_data mt6622_platdata = {
                            .iomux          = {
                                    .name       = NULL,
                                },
-                   }
+                   },
+
+                   .rts_gpio           = { // UART_RTS
+                           .io             = RK30_PIN1_PA3,
+                           .enable         = GPIO_LOW,
+                                   .iomux          = {
+                                   .name       = "bt_rts",
+                                   .fgpio      = GPIO1_A3,
+                                   .fmux       = UART0_RTSN,
+                           },
+                   },
 };
 
 static struct platform_device device_mt6622 = {