]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: pinctrl: rk3399: Add support for UART3.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Tue, 7 May 2019 08:58:42 +0000 (10:58 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 May 2019 10:22:35 +0000 (18:22 +0800)
This patch adds the missing GRF bit definitions for UART3 on the RK3399.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/grf_rk3399.h

index b32c7d56c551c90a429baca18da3085acd28b109..dd89cd2050563ee64a923ba773207947061dd4ae 100644 (file)
@@ -423,6 +423,10 @@ enum {
        GRF_GPIO3B6_SEL_SHIFT   = 12,
        GRF_GPIO3B6_SEL_MASK    = 3 << GRF_GPIO3B6_SEL_SHIFT,
        GRF_MAC_RXCLK           = 1,
+       GRF_UART3_SIN           = 2,
+       GRF_GPIO3B7_SEL_SHIFT   = 14,
+       GRF_GPIO3B7_SEL_MASK    = 3 << GRF_GPIO3B7_SEL_SHIFT,
+       GRF_UART3_SOUT          = 2,
 
        /* GRF_GPIO3C_IOMUX */
        GRF_GPIO3C1_SEL_SHIFT   = 2,