I haven't confirmed if this works on all RAM variants- I've a suspicion the Revision ID will change depending on which RAM part is installed, but I'm not 100% sure.
Otherwise- this PR adds support for the Pi 4 which includes a necessary change to swap out the Oscillator Frequency, which has changed from 19.2MHz to 54MHz.
This change has been tested with Unicorn HAT using 8x8 ws2812 LEDs in original DMA->PWM mode, but not any other variants or modes.
I haven't confirmed if this works on all RAM variants- I've a suspicion the Revision ID will change depending on which RAM part is installed, but I'm not 100% sure.
Otherwise- this PR adds support for the Pi 4 which includes a necessary change to swap out the Oscillator Frequency, which has changed from 19.2MHz to 54MHz.
This change has been tested with Unicorn HAT using 8x8 ws2812 LEDs in original DMA->PWM mode, but not any other variants or modes.