Theoretically this PWM is the base of 80MHz, so the maximum we get would be 40MHz.
I was testing the PWM with X bits up to the maximum frequency, I honestly did not expect it to reach 4MHz. However, I was able to reach 40MHz (but with 1bit resolution).
Table of data for maximum frequency with resolution X:
10b = ~78kHz
08b = 300kHz
06b = 1.25MHz
04b = 5MHz
02b = 20MHz
01b = 40MHz
Note: ESP8266 did not exceed 6.6MHz with 1b and 250kHz to all others resolutions
Here, some images of test with 8MHz, 18MHz and 20MHz. (2bit, 50% duty)