标题: how to find rk3568_mux_route_data meaning in reference manual [打印本页] 作者: feelthat 时间: 2022-10-5 00:52 标题: how to find rk3568_mux_route_data meaning in reference manual https://elixir.bootlin.com/linux ... /pinctrl-rockchip.c
in static struct rockchip_mux_route_data rk3568_mux_route_data[]
RK_MUXROUTE_GRF(2, RK_PA2, 3, 0x0310, WRITE_MASK_VAL(0, 0, 0)), /* UART5 IO mux M0 */
RK_MUXROUTE_GRF(3, RK_PC2, 4, 0x0310, WRITE_MASK_VAL(0, 0, 1)), /* UART5 IO mux M1 */
in the reference manual
uart5_sin I SDMMC0_CMD/PWM10_M1/UART5_RX_M0/CAN0_TX_M1/GPIO2_A1_u GRF_GPIO2A_IOMUX_SEL_L[7:4]=4'h3
*uart5_sout O SDMMC0_CLK/TEST_CLKOUT/UART5_TX_M0/CAN0_RX_M1/GPIO2_A2_d* GRF_GPIO2A_IOMUX_SEL_L[11:8]=4'h3
uart5_sin I LCDC_DEN/VOP_BT1120_D15/SPI1_CLK_M1/UART5_RX_M1/I2S1_SCLK_RX_M2/GPIO3_C3_d GRF_GPIO3C_IOMUX_SEL_L[15:12]=4'h4
*uart5_sout O LCDC_VSYNC/VOP_BT1120_D14/SPI1_MISO_M1/UART5_TX_M1/I2S1_SDO3_M2/GPIO3_C2_d* GRF_GPIO3C_IOMUX_SEL_L[11:8]=4'h4
1. how do I find offset 0x0310
2. how do I find bit setting value for WRITE_MASK_VAL(0, 0, 0) WRITE_MASK_VAL(0, 0, 1) 作者: feelthat 时间: 2022-10-6 02:03 本帖最后由 feelthat 于 2022-10-12 09:58 编辑