Which pin assignment for an ILI9341

Hello Community,

I have implemented a small project with an ESP32 WROOM and an ILI9341 display. I’m actually finished so far, if there wouldn’t be this warning in the log:

WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.

This leads me to the general question, which GPIO’s should I use best?
My configuration looks like this:

touchscreen:
  - platform: xpt2046
    cs_pin: GPIO14
    interrupt_pin: GPIO16

display:
  - platform: ili9xxx
    model: ILI9341
    dc_pin: GPIO26
    reset_pin: GPIO5
    cs_pin: GPIO27

spi:
  clk_pin: GPIO18 
  mosi_pin: GPIO23
  miso_pin: GPIO19

output:
  - platform: ledc
    pin: GPIO4

I had copied a tutorial from the net and now I’m not sure if it fits because of the warning. What do you think of the pin assignment? Should I put the reset pin on a different GPIO?

Kind regards
Manfred

Gpios 16-33 are always good.
Gpio5 has internal pullup, so use it with care like Esphome instruct you.