The SD card uses SPI and the RTC uses I2C. There is no "changing it" unless you find a different RTC that uses SPI.
Furthermore, there is no overlap between SPI and I2C in terms of pins usage.
The SD card uses SPI and the RTC uses I2C. There is no "changing it" unless you find a different RTC that uses SPI.
Furthermore, there is no overlap between SPI and I2C in terms of pins usage.