Skip to content

Commit

Permalink
dt-bindings: pinctrl: ch32v003: Fix I2C1 remap bit
Browse files Browse the repository at this point in the history
Corrects definition to match the register map.

Signed-off-by: Jianxiong Gu <[email protected]>
  • Loading branch information
recalci authored and kartben committed Jan 2, 2025
1 parent 73f1156 commit 638cfed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/zephyr/dt-bindings/pinctrl/ch32v003-pinctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
*/
#define CH32V003_PINMUX_SPI1_RM 0
#define CH32V003_PINMUX_I2C1_RM 1
#define CH32V003_PINMUX_I2C1_RM1 23
#define CH32V003_PINMUX_I2C1_RM1 22
#define CH32V003_PINMUX_USART1_RM 2
#define CH32V003_PINMUX_USART1_RM1 21
#define CH32V003_PINMUX_TIM1_RM 6
#define CH32V003_PINMUX_TIM1_RM1 23
#define CH32V003_PINMUX_TIM2_RM 8

/* Port number with 0-2 */
Expand Down

0 comments on commit 638cfed

Please sign in to comment.