ST77789/GMT130 Display problems

I have this display but cannot get it to work. the markings on the display are listed as comments after the pin definition.
BLK - easy
DC - easy
RES - easy
SDA ?
SCK ?
VCC - obvious
GND - obvious

On the back of the board it specifically states
Interface: SPI
Driver: ST7789

I must have one of the mappings wrong?
I’ve scoured the internet to no avail - this should be easy.

spi:
  clk_pin: GPIO25 #SCK
  mosi_pin: GPIO4 #SDA
  #miso_pin: GPIO4 #NC

display:
  - platform: st7789v
    model: TTGO TDisplay 135x240
    backlight_pin: GPIO26 #BLK
    cs_pin: GPIO32 #CS
    dc_pin: GPIO22 #DC
    reset_pin: GPIO27 #RES
    lambda: |-
      // Draw a line from [0,0] to [100,50]
      it.line(0, 0, 100, 50);

Its not seeing the display at all

[16:10:49][W][component:237]: Component display took a long time for an operation (82 ms).
[16:10:49][W][component:238]: Components should block for at most 30 ms.

Start by reading the documentation. The ST7789V platform has been superseded by the ILI9XXX platform:

SCK is CLK (clock) on the SPI bus.
SDA is MOSI on the SPI bus.

Manufacturers tend to play fairly loose with pin labelling as these are normally what I2C pins are labelled…

If you have “normal” esp32, default SPI pins are:
mosi_pin: 23 (sda)
clk_pin: 18 (sck)

Yes, the docs do indicate the need to use a different driver so I updated my config- I still get nothing.

spi:
  clk_pin: GPIO25 #SCK
  mosi_pin: GPIO4 #SDA
  #miso_pin: GPIO4 #NC

display:
  - platform: ili9xxx
    model: ST7789V
    dc_pin: GPIO22
    reset_pin: GPIO27
    invert_colors: false
    show_test_card: true

The errors in the log went away, but the display is blank. I had a 2nd brand new one and tried it, but still nothing. I think I’m going to abandon these displays - I honestly didn’t think they would be so difficult to get working… I have 2 Waveshare e-paper displays arriving later today that will ultimately end up being used. Hopefully those will won’t be as difficult to set up.

Unwilling to give up, I kept trying things. Ultimately, the spi_mode was the magic :

display:
  - platform: ili9xxx
    model: ST7789V
    dc_pin: GPIO22
    reset_pin: GPIO27
    data_rate: 2MHz
    spi_mode: MODE3
    invert_colors: false
    show_test_card: true
    pixel_mode: 16bit
    dimensions:
      height: 240
      width: 240 

Works like a charm finally.
Display Model GMT130-V1.0