Skip to content

Commit 638cfed

Browse files
recalcikartben
authored andcommitted
dt-bindings: pinctrl: ch32v003: Fix I2C1 remap bit
Corrects definition to match the register map. Signed-off-by: Jianxiong Gu <[email protected]>
1 parent 73f1156 commit 638cfed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/zephyr/dt-bindings/pinctrl/ch32v003-pinctrl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
*/
1818
#define CH32V003_PINMUX_SPI1_RM 0
1919
#define CH32V003_PINMUX_I2C1_RM 1
20-
#define CH32V003_PINMUX_I2C1_RM1 23
20+
#define CH32V003_PINMUX_I2C1_RM1 22
2121
#define CH32V003_PINMUX_USART1_RM 2
2222
#define CH32V003_PINMUX_USART1_RM1 21
2323
#define CH32V003_PINMUX_TIM1_RM 6
24+
#define CH32V003_PINMUX_TIM1_RM1 23
2425
#define CH32V003_PINMUX_TIM2_RM 8
2526

2627
/* Port number with 0-2 */

0 commit comments

Comments
 (0)