Explorar el Código

starfive/jh7100: fix SPI pin init code for Starlight

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
Jianlong Huang hace 2 años
padre
commit
39359967a3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      board/starfive/jh7100/jh7100.c

+ 1 - 1
board/starfive/jh7100/jh7100.c

@@ -875,7 +875,7 @@ INIT_FUNC_DEF(spi2)
     _CLEAR_RESET_rstgen_rstn_spi2_apb_;
     _CLEAR_RESET_rstgen_rstn_spi2_core_;
 	/* Modifying the GPIO interface of SPI2 */
-	SET_SPI_GPIO(2, 11, 12, 18, 19);
+	SET_SPI_GPIO(2, 18, 16, 12, 15);
 }
 
 INIT_FUNC_DEF(spi3)