Skip to contentSkip to conversation

riscv: dts: starfive: visionfive 2: correct spi's ss pin

PATCH Emil Renner Berthing 2 participants 2 messages Oct 11, 2023 1 message not in the archive RISC-V

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Emil Renner Berthing

author Reviewed-by
#1 lore raw
Quoted 2 lines · Nam Cao

The ss pin of spi0 is the same as sck pin. According to the visionfive 2 documentation, it should be pin 49 instead of 48.

Thanks! As far as I can tell this should make the 40pin header match the Raspberry Pi layout, so

Quoted 23 lines
Fixes 74fb20c8f05d ("riscv: dts: starfive: Add spi node and pins configuration")
---
 arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +1 -2
index 12ebe9792356..2c02358abd71 100644
@@ -431,7 +431,7 @@ GPOEN_ENABLE,
 		};
 
 		ss-pins {
-			pinmux = <GPIOMUX(48, GPOUT_SYS_SPI0_FSS,
+			pinmux = <GPIOMUX(49, GPOUT_SYS_SPI0_FSS,
 					      GPOEN_ENABLE,
 					      GPI_SYS_SPI0_FSS)>;
 			bias-disable;
--

2.39.2

#2 lore raw

Hey,

Quoted 8 lines · Emil Renner Berthing
Quoted 2 lines · Nam Cao

The ss pin of spi0 is the same as sck pin. According to the visionfive 2 documentation, it should be pin 49 instead of 48.

Thanks! As far as I can tell this should make the 40pin header match the Raspberry Pi layout, so

The lists (linux-riscv at least) never got this patch & I cannot find it in my inbox either. Can you send it "properly" please?

Thanks,
Conor.

Quoted 25 lines
Quoted 24 lines
Fixes 74fb20c8f05d ("riscv: dts: starfive: Add spi node and pins configuration")
---
 arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +1 -2
index 12ebe9792356..2c02358abd71 100644
@@ -431,7 +431,7 @@ GPOEN_ENABLE,
 		};
 
 		ss-pins {
-			pinmux = <GPIOMUX(48, GPOUT_SYS_SPI0_FSS,
+			pinmux = <GPIOMUX(49, GPOUT_SYS_SPI0_FSS,
 					      GPOEN_ENABLE,
 					      GPI_SYS_SPI0_FSS)>;
 			bias-disable;
--

2.39.2