The last rotary for Mazda was a few years ago in the RX-8. But, I have heard that it may come back again.
They had pretty much an unlimited rpm. I know a friend that put a stock Mazda truck rotary in a autocross car, the truck in those days was bigger, he added a larger 4 barrel carb and disconnected the rev limiter. It would run over 10,000 rpm. Now keep in mind, the crank was at 10,000, but the tripod unit, which is the piston in a normal engine, only runs at 1/3 of the speed, and creates 3 sparks per crank revolution.
For those of us in the snow country, that know what a snowmobile is, Arctic Cat had a Wankle rotary in the late 60's-early 70's. It was discontinued for excessive fuel consumption, even with a very small carb. But, if you put on a carb the same as some similar size engines, you had a lot of power, if you could make it to the gas station in time. The bad part was in those days, there was no oil injection either. So, if you ran low on gas, you pulled into a gas station, added gas, then took out your can of oil, and added as needed for the correct ratio, to the tank. When done, lift the back of the sled and shake it to mix the oil/gas.